Graphs are a common feature of many iOS applications and I use them extensively in my latest application. I needed a graphing system that could generate a variety of types of graphs (pie charts, bar graphs, stacked bar graphs and line graphs). I also needed a graphing system that was flexible enough to work on iPad, iPhone and could generate high resolution graphs for printing and export. Finally, the graphing system needed to handle, as gracefully as possible, data sets that ranged from a few data points up to a few thousand.
There are other graphing systems out there but I wanted tight control over the visual appearance. I also wanted to learn how to build a graphing framework that could handle these constraints. Which brings me to this blog post. I have made my graphing code available on GitHub here. The code is free for you to use (commercial or non-commercial) and to modify. Attribution is appreciated but not required.
Read More »