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

Set Chart Y-axis scale break points

1 Answer 139 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
PM
Top achievements
Rank 1
PM asked on 08 Mar 2010, 09:13 AM
Hi All,

Ho can i Set Chart Y-axis scale break points.
For example in "Temperature" example on y-axis it is showing starting from 0 tp 50 (0 10 20 30 40 50),

if i want to show same 0 to 50 like (0 5 10 15 20 25 ......) what should i do

Please help me regarding this.



1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 10 Mar 2010, 01:00 PM
Hi PM,

You can use code like this to achieve the desired scenario:
RadChart1.PlotArea.YAxis.AutoScale = false;
RadChart1.PlotArea.YAxis.MinValue = 0;
RadChart1.PlotArea.YAxis.MaxValue = 50;
RadChart1.PlotArea.YAxis.Step = 5;


All the best,
Velin
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.
Tags
Chart (Obsolete)
Asked by
PM
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or