Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you enable touch interaction in Core Plot?

Has anyone tried to add touch interaction to CorePlot?

I'm trying to implement custom layer to be able to draw a line on the chart which will show specific value and will draw itself in specified location when user touches chart area, but I'm not having any luck.

like image 741
Nick Avatar asked Sep 03 '10 10:09

Nick


1 Answers

You can enable interaction by changing the allowsuserinteraction property.

[[graph defaultPlotSpace] setAllowsUserInteraction:TRUE];

like image 62
xmr Avatar answered Sep 22 '22 06:09

xmr