makes the graph only display data for the last 10 dates, fixes #15