开发者

Line graphs on iOS [closed]

As it currentl开发者_如何学JAVAy stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Anyone know how to create line graphs on iOS without using Core-Plot but using inbuilt frameworks? Desperately searching for an answer.


Some of the charting libraries for iPhone/iPad that I found were:

http://code.google.com/p/core-plot/

http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/

http://www.rgraph.net/

You can use whatever you feel convenient with.

I would prefer using Core Plot Library though

Hope this helps you.

EDIT:

You can refer to this link to integrate the graph library core plot into your app.

http://tech.pro/tutorial/939/using-core-plot-in-an-iphone-application

And once your core plot repository is downloaded,you can go to the folder suggested by Brad Larson (in the below link) to get a tutorial for line chart.

Are there any examples for how to draw a line chart in Core Plot on the iPhone?

Also you can refer it here:

http://code.google.com/p/core-plot/source/browse/#hg/examples


Apple have some sample code for drawing graphic in Quartz here:

http://developer.apple.com/library/ios/#samplecode/AccelerometerGraph/Introduction/Intro.html


As well as CorePlot, there are several commercial tools for iOS charting:

  • ShinobiControls
  • www.threedgraphics.com
  • iPhone Charting Library for iPhone Objective-C

As a full disclosure, I work for Scott Logic which is the parent company for ShinobiControls.


Try to use CoreAnimation, CoreGraphics, Quartz frameworks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜