fixes to chart on new report and to date range calc