Fix Graph.dataDomain where series have empty data array

The current implementation of Graph.dataDomain assumes that series data arrays have at least one element.

Use case: Displaying a series with no data in the graph's legend but I still want to use the dataDomain method.