XYPieChart icon indicating copy to clipboard operation
XYPieChart copied to clipboard

Rotate Pie Chart Slice on Clicking

Open kamarshad opened this issue 13 years ago • 0 comments

Hi, First of all I'd like to thank you for writing such useful Pie Chart Application. Indeed you did a well job. I have used this sample application in my iOS Application. I have done everything successfully beside one thing.

Actually i want to rotate particular slice on clicking it and remaining slices would rotate according to that clicked slice.

suppose in my pie chart there are 5 slices.

As i click on slice number2 , then number2 would move to the specific position and number 1 would take the place of number 2 , number 5 slice would take the position of slice number 1 and remaining slice would take position accordingly.

I have tried to achieve this by resetting the start and end angle of each layer , but no luck .

Please help me in rotating the slice on click. please provide me some idea.

Any suggestion/help would be much appreciated.

Thanks, Mohd Kamarshad

kamarshad avatar Apr 12 '13 11:04 kamarshad