Add time support to graph x-axis