有没有适合iPhone的好的统计可视化库?

时间:2020-11-30 02:03:11

I wonder if every developer would have to code statistic visualization by him/herself, or if there's a lib already that can be used to draw charts, curves, stats, etc. (like in the stock app for example)?

我想知道每个开发人员是否必须自己编写统计可视化代码,或者是否已经有可用于绘制图表,曲线,统计数据等的lib(例如在股票应用程序中)?

3 个解决方案

#1


Take a look at this graphing package, it will also compile on the iPhone:

看看这个图形包,它也将在iPhone上编译:

http://www.mpkju.fr/~graphview/page1/page1.html

Note that I've not used it yet, I ran across it before and made a note of the potential usefulness of it.

请注意,我还没有使用它,之前我遇到过它,并记下了它的潜在用处。

#2


You might use the Google Charts API, and just use the images that come back from that:

您可以使用Google Charts API,只使用从中返回的图片:

http://code.google.com/apis/chart/

For instance, you can retrieve the bytes from this URL

例如,您可以从此URL检索字节

http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

and insert them into an NSImage, or just let the web view do the rendering for you.

并将它们插入到NSImage中,或者让Web视图为您执行渲染。

#3


Core Plot is a cross-platform (Mac / iPhone) plotting framework being developed by a group of scientifically-minded Cocoa developers. It is based on Core Animation, and was advancing quite quickly the last time I checked in. You might want to read the mailing list archives to get an idea of the design goals and current state of the framework.

Core Plot是一个跨平台(Mac / iPhone)绘图框架,由一群具有科学头脑的Cocoa开发人员开发。它基于Core Animation,并且在我最后一次登记时进展很快。您可能希望阅读邮件列表存档,以了解设计目标和框架的当前状态。

#1


Take a look at this graphing package, it will also compile on the iPhone:

看看这个图形包,它也将在iPhone上编译:

http://www.mpkju.fr/~graphview/page1/page1.html

Note that I've not used it yet, I ran across it before and made a note of the potential usefulness of it.

请注意,我还没有使用它,之前我遇到过它,并记下了它的潜在用处。

#2


You might use the Google Charts API, and just use the images that come back from that:

您可以使用Google Charts API,只使用从中返回的图片:

http://code.google.com/apis/chart/

For instance, you can retrieve the bytes from this URL

例如,您可以从此URL检索字节

http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

and insert them into an NSImage, or just let the web view do the rendering for you.

并将它们插入到NSImage中,或者让Web视图为您执行渲染。

#3


Core Plot is a cross-platform (Mac / iPhone) plotting framework being developed by a group of scientifically-minded Cocoa developers. It is based on Core Animation, and was advancing quite quickly the last time I checked in. You might want to read the mailing list archives to get an idea of the design goals and current state of the framework.

Core Plot是一个跨平台(Mac / iPhone)绘图框架,由一群具有科学头脑的Cocoa开发人员开发。它基于Core Animation,并且在我最后一次登记时进展很快。您可能希望阅读邮件列表存档,以了解设计目标和框架的当前状态。