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

custom x-axis label on radchart

1 Answer 121 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Yoong Hui Chia
Top achievements
Rank 1
Yoong Hui Chia asked on 07 Aug 2010, 03:35 AM
Hi,

Does anyone know how to set the x-axis to a specific interval, e.g. 15 mins.

So far i managed to use the below code to skip some of the points label on the x-axis. However, what i want to achieve is to set the time range for every 15 mins. e.g. 22:15:00, 22:30:00.

RadChart1.PlotArea.XAxis.LabelStep = 15;

Please help. Thanks,

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 11 Aug 2010, 12:59 PM
Hello Yoong Hui Chia,

In this case, you can add the labels dynamically. Additional information on this is available in the following article:

http://www.telerik.com/help/aspnet-ajax/howtoaddxlabels.html

I hope this information gets you started properly.

Best wishes,
Yavor
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
Yoong Hui Chia
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or