iPhone App:Plot a graph
In my iPhone App I want to add Graph as shown below
!How can I plot this kind of graph in my iphone App using coreplot
please H开发者_C百科elp and Suggest
Thanks.
You will need 3 plots--two bar plots and a scatter plot. The "Year x" labels on the x-axis are easy if you set up the labelFormatter
correctly.
Look at the example programs provided with Core Plot for ideas on how to get started.
you can follow this tutorial -
http://code.google.com/p/core-plot/ http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application
you can also use google's graph api -
http://code.google.com/apis/charttools/
精彩评论