TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
christianh
- Newbie

- Posts: 6
- Joined: Mon Jun 27, 2011 12:00 am
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

- Posts: 9645
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
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];