Fix crash on zero data.

Line graph delegate methods need to have a shortcircuit when
there is no data.