Modified code to plot first point of graph in all three views(i.e, seconds, minutes and days).