Saturday, 22 October 2011

Quartz 2D Article

When developing for iOS, a few times I was working on a bespoke graph, either copying a design created by someone else or implementing strict design guidelines. I decided to share the experience I've gained then in a series of articles. Here they are:

Part 1. Preparing the environment, drawing the grid lines.
Part 2. Drawing a bar graph, with gradient fill.
Part 3. Drawing a line graph, with gradient fill.
Part 4. Making graphs interactive.
Part 5. (to be published soon) Drawing text on graphs (labels etc).

1 comment:

  1. Hello,
    thank you for the very nice and helpful tutorial.
    Please, can you explain how I could display the index and value from a "touched" bargraph (Part 4) to labels, placed on the MainView (ViewController)?

    Thanks again and best wishes