This is a migrated thread and some comments may be shown as answers.
XAxis AutoTextWrap
1 Answer 24 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gerhard
Top achievements
Rank 1
Gerhard asked on 02 Feb 2012, 10:42 AM
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.

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 06 Feb 2012, 03:45 PM
Hi,

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.

Regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Asked by
Gerhard
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or