Page 1 of 1

Multiple Axes

Posted: Wed Apr 26, 2006 6:48 am
by 9640166
Hi,

I'm creating a Line series on my chart. What I want to do is create one of the lines in the series on the right axis, with the rest on the left axis.

I'm using the Add method to add each line to the series, but I can't see how to specify a different axis to which to draw it from.

Is this possible or do I need to create a second series and use a custom axis?

Thanks for your help.

Posted: Wed Apr 26, 2006 8:21 am
by narcis
Hi Agrilink,

No, you just need to specify the vertical axis you want for that series, i.e.:

Code: Select all

      line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right;

Posted: Wed Apr 26, 2006 8:28 am
by 9640166
Hi Narcis,

Thanks again for all your help.