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. Image for the cookie policy date

Rotating Chart

I want to rotate an Area Chart 90 degrees clockwise so that the origin may be on top-left corner.

In other words, x values are increasing from top to bottom; while y values from left to right.

In WPF, is there any easy way?


1 Reply

PJ Pavithra J Syncfusion Team December 8, 2008 11:43 AM UTC

Hi Joseph,

Yes, we could rotate the chart as you require.

The chart Area is rotated using the ChartArea.RenderTransform. And the labels are rotated accordingly with the chartAxis LabelRotateAngle property.

Please refer to the attached sample that illustrates this behaviour.

http://websamples.syncfusion.com/samples/WPF/F78264/main.htm

Please let me know if you if you have further queries.

Thanks.


Loader.
Live Chat Icon For mobile
Up arrow icon