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.

Pie Chart Origin

Thread ID:

Created:

Updated:

Platform:

Replies:

98401 Feb 24,2011 05:24 PM Feb 25,2011 06:41 AM WPF 1
loading
Tags: Chart
David Sworder
Asked On February 24, 2011 05:24 PM

The origin of a pie chart is at 90 degrees. Is there a way to change this to 0 degrees? In other words, I'd like the left edge of the first slice of the series to be at 0 degrees.


Saravanan A [Syncfusion]
Replied On February 25, 2011 06:41 AM

Hi David,

We can achieve your requirement by overriding the item template’s “RenderTransform” of series. Following is the code snippet in which we have override the RenderTransform.

[XAML]:


Data="{Binding Geometry}" ToolTip="{Binding ToolTip}" RenderTransformOrigin="0.5,0.5">






Based on your requirement we have created a simple sample please download the sample from below location.

Sample: http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=Pie_chart_90_degr-1591921549.zip

Please let us know if you need any further assistance.

Thanks,
Saravanan




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.

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.

;