Fixed crash when diagrams had only one data graph.

For timing/tab/truth diagrams corrected handling of case when there was only
one data variable to graph and no data were available.
Merge pull request #151 from in3otd/issue_150

Fixed crash when diagrams had only one data graph.