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

Rotation Angle Of label in RAd Chart

5 Answers 508 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
akash
Top achievements
Rank 1
akash asked on 18 Jan 2008, 10:52 AM
how to  rotate the labels to  some angle  say 30 degree or 50 degree  so that  they must be tilted to some angles on the bars

5 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 18 Jan 2008, 12:19 PM
Hi akash,

To our greatest regret this is not possible yet. However, this functionality is in our TODO list for the future versions.

Sincerely yours,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chavdar
Telerik team
answered on 18 Jan 2008, 05:47 PM
Hi akash,

This is a quick followup to our previous reply. The answer was related to the TextBox report item and not to the series items labels. We are sorry for the misunderstanding.

To rotate the labels you can use the Appearance.LabelAppearance.RotationAngle property of the Series. For example:

        this.chart1.Series[0].Appearance.LabelAppearance.RotationAngle = -50;

 
Kind regards,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Navnit
Top achievements
Rank 2
answered on 05 Jul 2011, 11:55 AM
Hi,

For some reasons, when I tried --> this.chart1.Series[0], it threw an index out of range exception. 

Instead, this code below worked for me:
chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = -50;
0
Melissa
Top achievements
Rank 1
answered on 05 Sep 2011, 03:35 AM
Hi,
      How do I rotate the whole telerik pie chart?what would be the code behind?Thank you.
0
Steve
Telerik team
answered on 07 Sep 2011, 04:55 PM
Hello Melissa,

You can use the StartAngle property of the serie to rotate the pie chart.

All the best,
Steve
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
akash
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Chavdar
Telerik team
Navnit
Top achievements
Rank 2
Melissa
Top achievements
Rank 1
Steve
Telerik team
Share this question
or