http://www.raywenderlich.com/13269/how-to-draw-graphs-with-core-plot-part-1