Skip to Content
0
Former Member
Jun 26, 2009 at 05:20 PM

iCharts scaling and intervals MII 11.5

33 Views

I have an iChart (Line graph) that I have four pens, all of which have the auto scale is not checked. I have the global range checked and I set the min and max. The problem I have is the intervals from 100 (min) to 350 (max). How can I set it so it is every 10 or 15 or 25? The default for this is 25 when I set the YaxisMajorTickCount to 20. Since I do not know how to modify the intervals, I played around the tick counts.

document.Chart2.getChartObject().setGlobalMinRange(100);

document.Chart2.getChartObject().setGlobalMaxRange(350);

document.Chart2.getChartObject().setUseGlobalRanges(true);

document.Chart2.getChartObject().setGlobalAutoScale(false);

document.Chart2.getChartObject().setGlobalServerScaling(false);

document.Chart2.getChartObject().setYAxisMajorTickCount(20);