Page 1 of 1

Problems when setting right axis

Posted: Wed Mar 12, 2014 3:45 am
by 17365127
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!

Re: Problems when setting right axis

Posted: Wed Mar 12, 2014 9:46 am
by narcis
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.