【发布时间】:2014-08-31 08:06:11
【问题描述】:
我一直面临这个问题,高高在低也找不到任何解决方案。条形图委托方法(void) - barPlot:barWasSelectedAtRecordIndex:
没有在点击任何栏后被调用。
在GrpahView.m 中,我设置了plot.delegate=self,在GraphView.h 中,我添加了这些<CPTBarPlotDelegate>..
我也设置了plotSpace.allowsUserInteractionEnabled = YES.
还是没有运气。
请给我一个建议。我的图表被绘制在一个视图上,该视图是另一个视图的子视图。
【问题讨论】:
-
请详细说明您的问题。什么是 GraphView.h?什么是 barPlot ... 等等。 :)
标签: ios cocoa-touch graph core-plot