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

How to label step through months??

1 Answer 71 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
bemara57
Top achievements
Rank 1
bemara57 asked on 13 Mar 2009, 11:12 PM
I am putting months on my x-axis and am trying to step month to month. I tried putting step = 30 and 31, but over a period of years (with scrolling) it becomes off. Is there a special step feature for months, or a way to make it variable?

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 16 Mar 2009, 08:22 AM
Hello bemara57,

Unfortunately, there is no way to automatically configure variable X axis LabelStep or special "months step". In this case you will have to loop through the X axis item labels and hide all of them except for the first label of each new month. In case AutoScale is set to true (the default value) you can do this in the BeforeLayout event handler, at this moment the automatically created labels are available for modifications.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
bemara57
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or