Fix bar chart exception.

Avoid a NPE when the expecteds array is null when
generating a bar chart.
Merge pull request #15 from christophercarr/graphfix

Fix bar chart exception.