0

I want to rotate pie chart through gesture recognizer event when i drag pie chart clockwise\anticlockwise not through selectIndexPieChart event .

Please advise .

Thanks

Manish Jain
  • 865
  • 3
  • 13
  • 28

1 Answers1

1

Look at UIRotationGestureRecognizer. - When the user moves the fingers opposite each other in a circular motion, the underlying view should rotate in a corresponding direction and speed.

There is a CPTGraphHostingView in core-plot SDK which contains all your plots. Attach that gesture recognizer to this view and see result.

beryllium
  • 29,669
  • 15
  • 106
  • 125