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

Custom TickPoints

1 Answer 72 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Val
Top achievements
Rank 1
Val asked on 19 Jan 2011, 12:35 PM
Hello.
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?

Thanks,
Valeriy

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 Jan 2011, 08:01 AM
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,
Yavor
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
Val
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or