Search code examples
iosswift3ios-charts

How to disable the rotation option of pie charts in iOS charts?


If I set below property

pieChartView.isUserInteractionEnabled = false

then it will disable the gesture option also, but in my requirements I have to disable the rotation option.

How can I do this one?

Thanks in advance


Solution

  • PieChartView.rotationEnabled = false