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

Pie Chart start angle

1 Answer 113 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 18 Oct 2010, 10:03 PM
Is there a property that can be specified that will change the start angle for pie charts? It looks like it always starts plotting from 0 degrees.

Thanks,
Mike

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 20 Oct 2010, 09:20 AM
Hi Mike,

To achieve the desired functionality, you can use the start angle property of the control. This is demonstrated in the code sample below:

<Series>
<telerik:ChartSeries Name="series 1" Type="Pie" Appearance-StartAngle="280">
<Items>
<telerik:ChartSeriesItem YValue="1" XValue="0" />
<telerik:ChartSeriesItem YValue="2" XValue="1" />
<telerik:ChartSeriesItem YValue="3" XValue="3" />
<telerik:ChartSeriesItem YValue="4" XValue="3" />
<telerik:ChartSeriesItem YValue="5" XValue="4" />
</Items>
</telerik:ChartSeries>             
</Series>

I hope this gets you started properly.

Greetings,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart (Obsolete)
Asked by
Mike
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or