Best way to create a graph from data
<p>I have some data, let's say the number of sells of the month. I want to create a discrete graph showing the amount of sold items every day.</p>

<p>The only way i'm able to do that is creating some CGRects, and then load subviews with these rects as frame, and color their backgrounds. So the columns of the graph are made by small, colored view.</p>

<p>Do you think this could be the right way? Or do you think there are better approaches? </p>
