Quote:
Originally Posted by mercury841
hi everyone,
i need to make a line graph on my ipad application.
can you advice me some tutorials or frameworks/library for create them?? thanks.
|
Take a look at Core Plot. It's a library that runs on iOS and Mac OS, and supports a variety of different types of graphs and plots.
If all you need is a single line, with no keys or labels, you might look at UIBezierPath. That class lets you create and draw a path object. At it's simplest, the path could be a connected series of points. You'd create a custom subclass of UIView, and override the drawRect method. In drawRect, you'd draw a UIBezierPath to draw your line graph.