开发者

how to create a core plot in ios

开发者 https://www.devze.com 2023-03-26 15:37 出处:网络
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'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.

how to create a core plot in ios

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

0

精彩评论

暂无评论...
验证码 换一张
取 消