Problems when setting right axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Thinkpower
Newbie
Newbie
Posts: 11
Joined: Tue Feb 19, 2013 12:00 am

Problems when setting right axis

Post by Thinkpower » Wed Mar 12, 2014 3:45 am

Hi, I'm using Xamarin to build an android project.
First, I set ZoomStyles to Inchart and the scale of left axis as following code. It scales well. And when I drag the chart, the left axis lables are dynamical changed, not fixed.

Code: Select all

mainChart.Zoom.Style = Steema.TeeChart.ZoomStyles.Inchart;
mainChart.Axes.Left.SetMinMax (100, 115);
But when I set the axis to right as following code, there are problems.
1. It scales well only when ZoomStyles set to Classic, scales very bad when set to Inchart.
2. When I drag the chart, the right axis lables are fixed, not dynamical changed.

Code: Select all

mainChart.Series [0].VertAxis = VerticalAxis.Right;


mainChart.Axes.Right.SetMinMax (100, 115);
Please help!

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

Re: Problems when setting right axis

Post by Narcís » Wed Mar 12, 2014 9:46 am

Hi benlu,
benlu wrote: But when I set the axis to right as following code, there are problems.
1. It scales well only when ZoomStyles set to Classic, scales very bad when set to Inchart.
2. When I drag the chart, the right axis lables are fixed, not dynamical changed.
Yes, this is a known issue. Currently, ZoomStyles.InChart only works fine for default axes (left and bottom). I have added it (ID627) to bugzilla to be considered for inclusion in future releases. In the meantime you could use ZoomStyles.FullChart.
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

Post Reply