Multiple Axes

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Agrilink
Newbie
Newbie
Posts: 38
Joined: Thu Feb 02, 2006 12:00 am

Multiple Axes

Post by Agrilink » Wed Apr 26, 2006 6:48 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Apr 26, 2006 8:21 am

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;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Agrilink
Newbie
Newbie
Posts: 38
Joined: Thu Feb 02, 2006 12:00 am

Post by Agrilink » Wed Apr 26, 2006 8:28 am

Hi Narcis,

Thanks again for all your help.

Post Reply