begin and end time parameter for chart added