开发者

How to display line chart in a view?

I want line chart in my application can any one tell me how can we make line chart & display it i开发者_运维百科n view.& which frame work is needed for that.


You mean a graph done with lines showing relationships between coordinates?

If so, Quartz drawing might be easiest. The framework is CoreGraphics. You get a reference to the CGContext, tell it where the line starts (moveToPoint, x, y) and ends (addLineToPoint, x, y), and stroke the path.


Check out Core-plot.

http://code.google.com/p/core-plot/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜