Is there a good charting library for iPhone? [closed]
Solution 1:
One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including desktop systems, but its design has included iPhone support from the beginning. It's getting pretty close to useable and is currently in use in several shipping iPhone and OS X applications.
Edit 2/10
Core Plot has come a long way since I first posted the summary. The framework now has bar charts (including horizontal bar charts, I believe), axis labels (including aribrarty rotations), and fills and backgrounds for graphs. I'm not sure about stacked bar charts, but it wouldn't be hard to add to the CPBarPlot
class that implements bar charts. As for annotations, there is a CPAnotation
class which you could subclass to add your annotations, if there isn't the exact functionality you need.
Project on github.
Solution 2:
As a commercial alternative to CorePlot, I'd recommend giving ShinobiControls a go, they have some pretty good looking charts. They also have very good performance, rendering charts with 100,000+ points at 60fps and multi-touch support.
As a full disclosure, I work for Scott Logic which is the parent company for ShinobiControls.