We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Label Rotate

Thread ID:

Created:

Updated:

Platform:

Replies:

68283 Sep 14,2007 09:08 PM UTC Sep 18,2007 12:13 PM UTC WPF 3
loading
Tags: Chart
Troy Wing
Asked On September 14, 2007 09:08 PM UTC

Hi, I was unable to get the labelrotate property on chartaxis object to do anything? I also tried adding rotatetransform to customaxislabel, but did not work.
Any ideas on how to rotate axis label text?
Troy.

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 17, 2007 05:18 AM UTC

Hi Troy,

Thanks for the details. Please check with your code if you had set the "LabelRotateAngle" property. Here's the code snippet for using it,

[C#]

this.chartControl1.PrimaryXAxis.LabelRotateAngle = 45;

Please refer the following sample as a reference,

http://websamples.syncfusion.com/samples/Chart.Windows/F68283/main.htm

Let me know if you want any more details.

Regards,
Fahad


Troy Wing
Replied On September 18, 2007 03:04 AM UTC

Hi, yes I did set the angle also.
The sample you referred to is actually .NET winforms not WPF.
I am pretty certain its not working in WPF version as none of the samples for WPF have the rotate option working.

Can you please confirm issue, and if its going to be fixed in another beta version.
Troy.
>Hi Troy,

Thanks for the details. Please check with your code if you had set the "LabelRotateAngle" property. Here's the code snippet for using it,

[C#]

this.chartControl1.PrimaryXAxis.LabelRotateAngle = 45;

Please refer the following sample as a reference,

http://websamples.syncfusion.com/samples/Chart.Windows/F68283/main.htm

Let me know if you want any more details.

Regards,
Fahad


Venugopal M [Syncfusion]
Replied On September 18, 2007 12:13 PM UTC

Hi Troy,

We can rotate the axis label using this property.

[C#]

Chart1.Areas[0].XAxis.LabelIntersectAction = ChartLabelIntersectAction.Rotate;
(or)
Chart1.Areas[0].XAxis.LabelIntersectAction = ChartLabelIntersectAction.RotatedMultipleRows;

But currently you could not specify the angle value for rotation. Next version of the Syncfusion Essential Studio WPF Chart greatly getting changes.

Thanks for the interest in Syncfusion products.

Please let me know if you have any questions.

Thanks,
Venugopal

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;