How can I display only integer values as labels in the X/Y axes?
Thanks in advance.
1 Answer, 1 is accepted
0
Accepted
Ves
Telerik team
answered on 10 Jul 2008, 08:17 AM
Hi Roger Helliwell,
You can wire BeforeLayout event. At this point of the control lifecycle the axis items are already created, so you can hide those that you do not need.
Alternatively, you can set AutoScale property to false to gain full control over axes. Then use AddRange method to provide your own set of axis items:
RadChart1.PlotArea.XAxis.AddRange(1, 10, 1).