How do I get the text from overlapping in the Major tick area.
See attached picture
1 Answer, 1 is accepted
0
Peshito
Telerik team
answered on 14 Jul 2011, 02:47 PM
Hello Cory,
Your axis labels are overlapped because there is not enough space for them to be fully displayed. By default the AutoScale property is set to True. Therefore the axis Step value is calculated depending on the data range and the available space. In order to set your custom Step that will prevent your lables from overlapping you should set the AutoScale to False, then you need to define the axis MinValue and MaxValue. It would look like this:
RadChart1.PlotArea.YAxis.AutoScale = false;
RadChart1.PlotArea.YAxis.MinValue = 0;
RadChart1.PlotArea.YAxis.MaxValue = 20000;
RadChart1.PlotArea.YAxis.Step = 4000;
Alternatively if you don't want to change the AutoScale property, you could increase your chart's size so there would be enough space for the labels to be displayed.
Hope that helps.
Regards,
Peshito
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!