Custom TickPoints

2 posts, 0 answers
  1. Val
    Val avatar
    2 posts
    Member since:
    Oct 2010

    Posted 19 Jan 2011 Link to this post

    I want to add custom TickPoints to the X axis, but when I'm adding it, chart didn't use it.
    Code example:
    Chart.DefaultView.ChartArea.AxisY.TickPoints.Add(new TickPoint { Value = 23, IsDateTime = false, Label = point.ToString() });
    I have set AutoRange="False", but chart generates some default ticks from 0 to 10.
    Seems there is a bug.
    What should I do, for adding custom ticks?

  2. Yavor
    Yavor avatar
    11 posts

    Posted 24 Jan 2011 Link to this post

    Hello Val,

    In which event are you adding the tickpoint(s)?
    Additionally, if you are turning off the autorange of the axis, you can set the min and max values, thus creating all the ticks. Let me know how this meets your requirements.

    Best wishes,
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top