Spline chart edge detection

Thread is closed for posting
2 posts, 0 answers
  1. Elmar
    Elmar avatar
    1 posts
    Member since:
    Jun 2010

    Posted 14 Jun 2010 Link to this post

    I'm working with the Q2 2009 SP1 telerik suite and run into a problem when rendering a spline chart.
    Essentially the edges seem to roll of the chart as highlighted in the attached illustration. I'd like to find out if there is a setting (or later release) that will prevent this behavior.

    Thanks in advance,
  2. Ves
    Ves avatar
    2926 posts

    Posted 16 Jun 2010 Link to this post

    Hello Elmar,

    This is because of the nature of the spline curve. It may go higher than its highest defining point as well as lower than its lowest defining point. You can set YAxis.AutoScale property to false and provide your own values for its range:

    RadChart1.PlotArea.AxisY.AutoScale = false;
    RadChart1.PlotArea.AxisY.AddRange(-10, 50, 10);

    Best regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top