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

Steps for X-Axis?

3 Answers 54 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Stefan Willebrand
Top achievements
Rank 1
Stefan Willebrand asked on 16 Jan 2009, 11:06 AM
How can I set the steps for the X-Axis if I load the values dynamically from the database, currently it displays all the values no matter what I use for the steps setting.

3 Answers, 1 is accepted

Sort by
0
Stefan Willebrand
Top achievements
Rank 1
answered on 16 Jan 2009, 09:05 PM
I have tried adding new ranges:

RadChart1.PlotArea.XAxis.Clear()

RadChart1.PlotArea.XAxis.AddRange(39592, 39772, 100)

But nothing seems to work, it still shows every label.

Anyone?

0
Stefan Willebrand
Top achievements
Rank 1
answered on 16 Jan 2009, 09:33 PM
Finaly, I found 

RadChart1.PlotArea.XAxis.LabelStep = 20
and that made it work.

However, the Major Grid lines does not follow so they appear for every datapoint. 

 

RadChart1.PlotArea.XAxis.Appearance.MajorGridLines
and I can not find a step setting for that one, the only way is to set them to visible=false but I would like them at the labelsteps.

0
Ves
Telerik team
answered on 19 Jan 2009, 08:51 AM
Hello Stefan,

This has been fixed in the latest release - RadControls for ASP.NET AJAX 2008 Q3 SP2 from January 13-th, 2009. Please, download it and give it a try.

Greetings,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Stefan Willebrand
Top achievements
Rank 1
Answers by
Stefan Willebrand
Top achievements
Rank 1
Ves
Telerik team
Share this question
or