iPhone 绘图/图表库
我正在寻找好的绘图库(折线图、饼图、柱形图),它允许与用户触摸进行交互,例如股票应用程序中的内容。
我找到了一个核心图库,但似乎交互逻辑没有得到很好的覆盖。
请建议可以使用哪些库?
I am looking for good plotting library (line, pie, column charts) which allows to interact with user touches something like in Stocks app.
I found a core-plot library but seems like that interaction logic is not well-covered.
Please suggest what libraries can be used?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
配置出来的问题。
交互逻辑包含在
CPLayerHostingView.m
文件的 core-plot 库中。如果您需要将
ViewController
与CPLayerHostingView
关联,只需添加属性:然后在
ViewController
使用代码:现在您可以运行任何控制器的从视图中查看方法。
Configured out the issue.
Interaction logic is covered in core-plot library in
CPLayerHostingView.m
file.If you need to associate your
ViewController
withCPLayerHostingView
, simply add property:Then in
ViewController
use code:So now you are able to run any controller's view methods from view.