getting dates on the graph