Added form to piechart for changing number of days to display.