Refined the datagraph to show time as x-axis.