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

Axis Label Spacing

1 Answer 101 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 19 Mar 2009, 07:25 PM
How do I control the spacing of labels along the x- axis? Some of the column descriptions in my chart are long and run into one another.

As an alternative, how can I force the label to be 2 lines? I've tried inserting <br> into the textblock text, but this does not seem to have the desired effect.

I've also set 

IntelligentLabelsEnabled

 

="True"

 

 as well as  

XAxis

 

AutoScale="True"

but these settings did not seem to affect the X axis labels

 

1 Answer, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 20 Mar 2009, 11:04 AM

Hello Dean Jurecic,

You can find an example of multi-line chart labels here.

You can also change the RotationAngle value according to the number of items in the chart. You can even set it to 90 so that the labels appear vertically.

Additionally, you can control the spaces between the labels along the XAxis by changing the LabelStep property of the XAxis, e.g. setting it to 2 will force every other label to disappear.

Hope this help.

Sincerely yours,

Dessy
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Dean
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Share this question
or