开发者

How do you enable touch interaction in Core Plot?

开发者 https://www.devze.com 2023-01-14 21:58 出处:网络
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 l

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.


You can enable interaction by changing the allowsuserinteraction property.

[[graph defaultPlotSpace] setAllowsUserInteraction:TRUE];

0

精彩评论

暂无评论...
验证码 换一张
取 消