custom right axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
christianh
Newbie
Newbie
Posts: 6
Joined: Mon Jun 27, 2011 12:00 am

custom right axis

Post by christianh » Tue Jun 05, 2012 8:17 am

I have a stacked chart (line series), horizontally divided in two parts and the default/builtin right axis is already used for the top portion of the chart.

Is it possible to add a custom axis on the right side of the chart?

BTW, I have already read tutorial 4 about axis design ;)

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: custom right axis

Post by Yeray » Tue Jun 05, 2012 1:54 pm

Hi Christian,

Yes, you can add a custom axis at the right side with the OtherSide property:

Code: Select all

  (Chart1.CustomAxes.Add as TChartAxis).OtherSide:=true;
And always keep in mind that an axis, to be shown, needs a series with values associated. For example:

Code: Select all

  Chart1[0].CustomVertAxis:=Chart1.CustomAxes[0];
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply