how to create a core plot in ios

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..

链接地址: http://www.djcxy.com/p/51846.html

上一篇: 情节(需要解决什么)?

下一篇: 如何在ios中创建核心情节