Line graphs on iOS [closed]
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.
精彩评论