X-Axies label overlap in chart

2 posts, 0 answers
  1. elu
    elu avatar
    1 posts
    Member since:
    Jun 2011

    Posted 15 Jun 2011 Link to this post


    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
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 20 Jun 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top