give a date range to charts on dashboard