4 Answers, 1 is accepted
0
Hello al,
You can try setting RadChart1.AutoLayout to true as shown in this online example. You can also consider modifying the plot area margins and the x axis item labels rotation angle as shown in this online example. This would be done in code-behind like this:
RadChart1.PlotArea.Appearance.Dimensions.Margins.Bottom = Telerik.Charting.Styles.Unit.Percentage(20);
RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;
Hope this helps.
Best wishes,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can try setting RadChart1.AutoLayout to true as shown in this online example. You can also consider modifying the plot area margins and the x axis item labels rotation angle as shown in this online example. This would be done in code-behind like this:
RadChart1.PlotArea.Appearance.Dimensions.Margins.Bottom = Telerik.Charting.Styles.Unit.Percentage(20);
RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;
Hope this helps.
Best wishes,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
al
Top achievements
Rank 1
answered on 04 Jun 2008, 01:50 PM
Thank you Ves,
but it does not work. The text is across the x axis. When i wrap it, part of the text is not displayed. It worked in the 1.1 radchart without adding any properties.
Is it possible for me to post you a picture of the chart?
but it does not work. The text is across the x axis. When i wrap it, part of the text is not displayed. It worked in the 1.1 radchart without adding any properties.
Is it possible for me to post you a picture of the chart?
0
al
Top achievements
Rank 1
answered on 05 Jun 2008, 07:38 AM
i tried to increase the height of the block
chartAxisItem.TextBlock.Appearance.Dimensions.Height=..
But still is stays the same.
If i increase the height of the chart, it is the plot area that gets larger, the space below the x-axis stays the same.
0
Hello al,
Please, find attached a sample page with long X axis labels, wrapped and rotated. Hope this helps.
Kind regards,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please, find attached a sample page with long X axis labels, wrapped and rotated. Hope this helps.
Kind regards,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center