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

Controlling PieCharts animation angle/starting "point" reference?

1 Answer 50 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Reuben
Top achievements
Rank 1
Reuben asked on 08 Jun 2009, 03:34 PM
Is it possible to tell a PieChart to start its wedges at a certain point?  It seems to be starting at (radius, 0) and drawing counter clockwise.

I'd like to start at (0, height) and draw clockwise...I might be missing something simple.

Thanks,
Reuben

1 Answer, 1 is accepted

Sort by
0
Reuben
Top achievements
Rank 1
answered on 08 Jun 2009, 06:12 PM
I ended up using a RotateTransform on the chartarea for now to achieve what I was looking for...

I think that using the SeriesDefinitions as an abstract class is limiting towards allowing the developer to use chart-specific properties easily (i.e. PieCharts should have something like pies should start drawing on x,y coordinate).

<chart:ChartArea.RenderTransform> 
          <RotateTransform Angle="-90" CenterX="50" CenterY="50"/>  
</chart:ChartArea.RenderTransform> 

Reuben
Tags
Chart
Asked by
Reuben
Top achievements
Rank 1
Answers by
Reuben
Top achievements
Rank 1
Share this question
or