Chart - generate chart for day/week/month/year