Does anyone know of a native graphing library for the iPhone SDK? I have a free iPhone polling app called Show of Hands that currently uses calls to google charts via embedded safari pages, e.g. http://www.showofhands.mobi/Viewmore.aspx?qid=9245968c-d40d-478c-8781-804d086cd643 . Pros: free and easy and we开发者_高级运维b-accessible. Cons: slower and less flexible within the app than native. So...I'm exploring options for handling the graphing and mapping functionality natively, without needing to roll my own.
Any suggestions?
Thanks!!
-tony
Thread on this here: Is there a good charting library for iPhone?
CorePlot seems to be the concensus so far, but still evolving.
This thread: Any good library for generating graphs for the iPhone? also had a great point:
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.
You could try that with something like flot or other js libraries.
精彩评论