Change graph x axis to time