group chart automatically by day/week/month/solve