Delegate method in the ios coreplot framework for CPTScatterPlot does not work

拜拜、爱过 提交于 2019-12-11 17:33:39

问题


I was trying to use the delegate method

-(void)ScatterPlot:(CPTScatterPlot *)plot plotSymbolWasSelectedAtRecordIndex:(NSUInteger)index  

in the ios coreplot framework. Unfortunately, it does not seem to work. This method is declared in the header file CPTScatterPlot.h . Please help!! Thanks!


回答1:


Try increasing the plotSymbolMarginForHitDetection. The default of 0.0 means you have to hit the plot point exactly for it to register.



来源:https://stackoverflow.com/questions/11550624/delegate-method-in-the-ios-coreplot-framework-for-cptscatterplot-does-not-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!