是否有可能获得CPTBarPlot的尖端点值(CGPoint值)?

时间:2011-10-27 05:20:00

标签: iphone ios ipad core-plot

在垂直条形图中,我使用1或2个绘图来绘制CPTBarPlot。现在,当用户点击该BarPlot时,我想要在CGPoint值中检索该CPTBarPlot的提示点。任何人都可以帮忙吗?

谢谢。

Naveen Thunga

1 个答案:

答案 0 :(得分:1)

有委托方法可以找出选择了哪个栏及其栏值。你试试

  

- (void)barPlot:(CPTBarPlot *)plot barWasSelectedAtRecordIndex:(NSUInteger)index;