How to change MinValue and MaxValue manually

2 posts, 0 answers
  1. Yonghan
    Yonghan avatar
    27 posts
    Member since:
    Dec 2010

    Posted 24 Jan 2011 Link to this post

    Hi,
    My chart have multiple axies.
    4 series are known values about 10 points. these series data are resampled to aobut 18(-2 to 16) points.
    1 series is unknown, this series is a live. and having different X values (0 to 24*60).
    see Moving_MinMaxValue1.png

    the problem is chaning MinValue and MaxValue manually.
    But the live data series has different moving.
    see Moving_MinMaxValue2.png

    Set min and max value:
    chart.DefaultView.ChartArea.AxisX.MinValue += 2;
    chart.DefaultView.ChartArea.AxisX.MaxValue += 2;

    How to change MinValue and MaxValue manually in this case.

    Thanks.
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 27 Jan 2011 Link to this post

    Hello Yonghan,

    You can manually set the MinValue, MaxValue and Step of the axes by following this approach:
    1. Turn off AutoRange property of the axis.
    2. Add custom values for MinValue, MaxValue and Step of the axis.

    This is shown in our help topic - http://www.telerik.com/help/silverlight/radchart-features-axes-x-axis.html.

    Greetings,
    Evgenia
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top