Bugfix for plots with no data.

Use axis view interval to compute time format for axis ticks when no
data is present because the axis plot interval is [-inf, inf].