i'm new in doing graph in iphone. anyone can recommend me any sample 开发者_运维技巧coding or tutorial on doing core plot ? it will be good if u can recommend me other graph api :)
i have a look on the scatter plot demo from core-plot, which is what i wanted to do, but i do not know how to change it to the diagram below. is it difficult to do it ?
i'm looking to do something like this.
Any comment is appreciated thanks
DK
You can try out google charts The link I have provided takes you to the google charts "live chart playground" page with which you can customize your chart however you want using the parameters available.
Once you customize the chart according to the way you want, you will have to copy the URL created above the chart and use it in your app.
To use the link in your chart, you will have to create a web view in your app and then call this url to show the graph in the web view.. this is possible by the following code
[yourWebView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString:yourGraphURLString]]];
where yourWebView would be your web view and yourGraphURLString would be the URL you get from google charts..
精彩评论