finished charts, and integrated the datepicker with page so that components refresh