working just one day in chart