Search code examples
iphoneioscgcontextlinegraph

Line graphs on iOS


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


Solution

  • 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