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

Stop rotation of pie chart

3 Answers 47 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amandine
Top achievements
Rank 1
Amandine asked on 11 Aug 2014, 03:55 PM
Hello,

could-we stop the rotation of the pie chart?

I would like to add the chart on a scrollview but I can't scroll this view over the chart...

thanks!

3 Answers, 1 is accepted

Sort by
0
Accepted
Julian Benkov
Telerik team
answered on 13 Aug 2014, 07:33 AM
Hi Amandine,

Thank you for using our controls.

TKChart inherits from UIView, so you can use its userInteractionEnabled property to ignore or process touch events to the chart. You should set this property to NO, and that the touch event will be handled by the scroll view. Please consider the code snippet below:

chart.userInteractionEnabled = NO;

I hope this helps. If you need further assistance, I will be glad to help.

Regards,
Julian Benkov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Amandine
Top achievements
Rank 1
answered on 13 Aug 2014, 09:07 AM
Thanks! this work!
0
inga
Top achievements
Rank 1
answered on 25 Aug 2014, 08:11 PM
















Thanks, it helps me too



Train Ticket prices


Tags
General Discussion
Asked by
Amandine
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Amandine
Top achievements
Rank 1
inga
Top achievements
Rank 1
Share this question
or