This is a migrated thread and some comments may be shown as answers.

Control Y-Axis growth

1 Answer 55 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 18 Oct 2012, 01:52 PM
For say a line chart is it possible to tweak the way the Y-Axis grows?  It appears to grow a certain percent every time the highest bin reaches the top of the chart.  Instead I’d like the highest bin to be 85 or 90% of the Y-Axis height at all times so live-data graph is not so jumpy.  A code snippet would be greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 19 Oct 2012, 05:28 PM
I just set the Y-Axis Maximum to the maxVal data set plus 10%.

 

 

 

 

(radCartesianChart1.VerticalAxis as LinearAxis).Maximum = max * 1.1;

Tags
ChartView
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or