在 iPhone SDK 中绘制图形时 Core-Plot 的替代方案有哪些
在 iPhone SDK 中绘制图形是否有 Core-Plot 的替代方案?
我很难将核心情节集成到我的应用程序中。很多问题。
你能建议一些核心情节的替代方案吗?
Are there any alternatives to Core-Plot for drawing graphs in iPhone SDK?
I am having hard time integrating core-plot in my app. Lot of issues.
Can you please suggest some alternatives to core-plot?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我发现的一些替代方案是:
http: //sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/
http://www.shinobicontrols.com/(已停止)
https:// www.scichart.com/ (Shinobi 的良好替代品)
https://github.com/sweetynebhwani/ deSimpleChart
https://github.com/danielgindi/Charts
我希望这会有所帮助。
Some of the alternatives that I found were:
http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/
http://www.shinobicontrols.com/ (discontinued)
https://www.scichart.com/ (good alternative to Shinobi)
https://github.com/sweetynebhwani/deSimpleChart
https://github.com/danielgindi/Charts
I hope this helps.
如果你想要画的东西相对简单,你可以使用 Quartz 自己画图来快速得到结果。只需子类化
UIView
并重写其drawRect:
方法即可。一个非常非常简单的例子,通过 Quartz 在固定位置绘制一个 10x50 像素的正方形:
If what you intend to draw is relatively easy, you may get quick results by using Quartz and drawing the graph yourself. Just subclass an
UIView
and override itsdrawRect:
method.A very, very simple example of drawing a square, 10x50 pixels at a fixed position, via Quartz:
自从 OP 提出问题以来,已经出现了大量新的图表库。 GraphKit,TWRCharts,仅举两个例子。如果您搜索“图表”,CocoaControls 会列出更多内容。所以我想收集更多关于这个问题的反馈。
Since the OP asked his questions, there has been an abundance of new chart libraries. GraphKit, TWRCharts, to name only two. CocoaControls lists a lot more, if you do a search for 'graph'. So I'd like to gather more feedback with regards to this question.
iOSPlot、iOS:图表、KeepEdge 库、Shinobi 控件
iOSPlot, iOS:Chart, KeepEdge Library, Shinobi Controls