How to label step through months??

Thread is closed for posting
2 posts, 0 answers
  1. bemara57
    bemara57 avatar
    57 posts
    Member since:
    Mar 2008

    Posted 13 Mar 2009 Link to this post

    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?
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 16 Mar 2009 Link to this post

    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.
Back to Top