How would you set the max & min on the Y axis on a chart (If it makes a difference the chart is using IndexLineSeries).
Set Y axis Max & min
Re: Set Y axis Max & min
Support · May 6, 2010Hello,
You can set the min and max values to the axis without any problem. Below is a sample code for this.
NumericYAxis yAxis = new NumericYAxis();
yAxis.Min = 185;
yAxis.Max = 235;
yAxis.Interval = 10;
Then you can use this axis in the IndexedLineSeries.
IndexedLineSeries lineSeries1 = new IndexedLineSeries("Website A", xAxis, yAxis);
Thanks,
ceTe Software Support Team.
Re: Set Y axis Max & min
Forum member · May 6, 2010Excellent - thanks!