This is a migrated thread and some comments may be shown as answers.

How to change MinValue and MaxValue manually

1 Answer 81 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Yonghan
Top achievements
Rank 1
Yonghan asked on 24 Jan 2011, 11:52 AM
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.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 27 Jan 2011, 09:01 AM
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>>
Tags
Chart
Asked by
Yonghan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or