Initialize time array correctly.
Format lines in graph.