XAxis AutoTextWrap

Thread is closed for posting
2 posts, 0 answers
  1. Gerhard
    Gerhard avatar
    4 posts
    Member since:
    Jan 2012

    Posted 02 Feb 2012 Link to this post

    I'm connecting to a access database to get the top ten artists played on the jukebox.
    Everything works fine, the only problem is the way the chart displays the artist names in the X-axis.
    Everything is cluttered. I want the labels to auto wrap but there must be more space so everything will fit in nicely.
  2. Peshito
    Peshito avatar
    590 posts

    Posted 06 Feb 2012 Link to this post


    Have you considered using Horizontal series orientation for your chart. This way your labels will be fully visible. You will also need to set the AutoLayout property to True in order to get the chart automatically position your labels. For example:
    radChart.AutoLayout = true;
    radChart.SeriesOrientation = ChartSeriesOrientation.Horizontal;

    Alternatively in case you want to use the Vertical series orientation, you can expand the space available for the axis labels to be drawn, by using the plot area's Margins property. However using this approach is not applicable when labels are rotated.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top