Answer: Some of the finest and most popular react charting libraries for executing data visualization projects are recharts, react-chartjs-2, Victory, visx, nivo, react-vis, BizCharts, Rumble Charts, ant design charts, react-gauge chart, and echart for react, to name a few.
CorePlot is a two dimensional (2D) graph plotting library which provides highly customizable way to render many types of graph/charts. It is purely build around using the Apple Core APIs like Quartz 2D, Core Animation. Using CorePlot library, you can draw awesome graph/charts in iOS, macOS and tvOS.
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.
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.
I have my own library called PowerPlot which is available under a dual-license model.
You can just follow the above link to install the demo app which shows off several sample charts. You can also download the GPL-version of the library and check out if it fits your needs. With the exception of horizontal bar charts it has the features requested - specifically, bar charts, stacked bar charts, various axis label positions and orientations.
I went through my own search a year or two ago, and ended up making my own line graphing classes because I couldn't find anything that worked exactly the way I needed it to. The two big ones to look at though, are SM2DGraphView and GraphX. I haven't tried either in an iPhone project, but I know SM2DGraphView is open source so you could modify it if needed.
I've also considered using a WebView to use a JavaScript graphing library, but that's just a thought.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With