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

X-Axies label overlap in chart

1 Answer 108 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
elu
Top achievements
Rank 1
elu asked on 15 Jun 2011, 12:00 PM

HI,

I have  a need to display dynamic items on X axis i.e form one item to n number of items (may go to 100 or more)

problem is X-Axies label overlapping. i need do not overlap the label item

Need help to fit in my dynamic series and dynamic items on x-axis and the chart should look consistent.

Attached is the image for bad chart i am getting, there are more then 150 items .



Regards
Elumalai.K

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 20 Jun 2011, 11:12 AM
Hi elu,

Since you have many datapoints on your chart the XAxis is trying to visualize Label for each XValue you have. You can control the label step of the XAxis by using LabelStep property. It specifies the value indicating that only one out of n-axis labels should be visible, where n is the value of the property. For example if you want label on every 4 steps you can do this:

RadChart1.PlotArea.XAxis.LabelStep = 2;

Best wishes,
Evgenia
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Chart (obsolete as of Q1 2013)
Asked by
elu
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or