displayed graph for period of years