任何好的库为iPhone生成图表? [英] Any good library for generating graphs for the iPhone?

查看:105
本文介绍了任何好的库为iPhone生成图表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

我需要一个图表库,可以在Iphone独立(无互联网)。

I need a charting library that could work on the Iphone standalone (no Internet).

我只需要酒吧&馅饼。

I only need bars & pie. Is for a bussines-oriented app.

如果不存在,那么如何集成一个JS?

If not exist, then how integrate a JS one?

推荐答案

没有成熟的图形库的iPhone(还)。您可能要关注开发Mac操作系统的 Core Plot 项目X和iPhone绘图库,在两个目标上使用Core Animation。它目前还没有准备好用于生产使用。特别是,还没有实现条形图和饼图。核心情节是WWDC 2009的科学编码项目的主题,因此希望它在WWDC期间和之后取得重大进展。

There are no mature graph libraries for the iPhone (yet). You may want to keep an eye on the Core Plot project which is developing a Mac OS X and iPhone plotting library that makes use of Core Animation on both targets. It's currently not ready for production use. In particular, bar and pie charts are not implemented yet. Core Plot is the subject of WWDC 2009's scientific coding project, however, so expect it to make significant progress during and after WWDC.

在嵌入JavaScript图表库方面,您可以随时使用WebKit视图托管包含您想要的JavaScript的网页。您可能会对示例代码显示如何从Objective-C调用JS,反之亦然。

In terms of embedding a JavaScript charting library, you can always use a WebKit view to host a web page containing whatever JavaScript you want. You will likely be interested in this sample code showing how to call into JS from Objective-C and visa versa.

这篇关于任何好的库为iPhone生成图表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆