Adds dates to the graph