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

Axis text alignment issue!

1 Answer 36 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Krishna Samaga
Top achievements
Rank 1
Krishna Samaga asked on 13 Aug 2010, 11:58 AM
Hi,

I have a telerik grid which has lengthy axis text labels. Due to its length, a part of the text is not shown as described in the attachment. The AutoLayout of Chart is set to false. I tried to fit it within the available space by using the below code but it had no effect.

chart.PlotArea.XAxis[count].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left;
chart.PlotArea.XAxis[count].TextBlock.Appearance.Dimensions.Margins.Left = new Unit(50);

Can anybody help me to display the complete axis text? This is a immediate requirement to be resolved for the client.

Thanks,
Krishna Samaga B.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 18 Aug 2010, 11:06 AM
Hello Krishna Samaga,

RadChart supports automatic text-wrapping functionality on a number of elements, including the axis labels. Enabling it should fix the problem with displaying the whole text. Please, have a look at this help topic to see how to achieve this.

Hope this helps.

Sincerely yours,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart (Obsolete)
Asked by
Krishna Samaga
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or