Scale Breaks documentation

Thread is closed for posting
3 posts, 0 answers
  1. Paul Taormino
    Paul Taormino avatar
    4 posts
    Member since:
    Sep 2005

    Posted 08 Dec 2008 Link to this post

    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.

  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 11 Dec 2008 Link to this post

    Hi Paul Taormino,

    Can you please post a screenshot of the resulting chart so we can get a better idea of the problem. Also, if possible can you provide a simple application which reproduces the problem? This will greatly help our developers with the investigation of the issues you are reporting.

    Vladimir Milev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Michael
    Michael avatar
    19 posts
    Member since:
    Oct 2008

    Posted 09 Apr 2009 Link to this post

    I had the same issue, and had to turn off scale breaks to get the auto scaling working.  I would be interested if there was a work-around.
Back to Top