use line graph for time period