I would like to see some documentation on the use of Scale Breaks for the Y-Axis. I am configuring the Y-Axis for a Line chart as such:
chart.PlotArea.YAxis.ScaleBreaks.Enabled = true;
chart.PlotArea.YAxis.ScaleBreaks.MaxCount = 1;
chart.PlotArea.YAxis.AutoScale = true;
What I expect to happen here is to end up with two chart.PlotArea.YAxis.Segments, each with an automatic and appropriately set Step. MinValue, and MaxValue. But what I end up with is two segments: The lower segment which contains most of the YAxis values, consumes about 95% of the chart space, and uses a very low "Step" value, which results in hundreds of gridlines so close together that the plotted series lines can scarcely be seen. The upper segment which contains one or two "outlying" data points, is squeezed up to the top 30 or so pixels of the chart. The bottom line is that this chart is essentially unreadable.
So my questions are:
1. Is there a way to set up the chart so that the Step, MinValue, and MaxValue are set automatically, separately and appropriately for each segment?
2. If not, is it necessary to manually create each segment and set Step, MinValue, and MaxValue explicitly? This option would be highly undesirable, since we're charting a large variety of measures which have a wide variety of Min and Max values. We would like to avoid having to write the algorithm that automatically creates these segments .... our assumption was that this was built into the controls..
In any case, if you can provide some samples of the use of the ScaleBreaks feature, particularly with regard to autoformatting on the YAxis, that would be very helpful.