fixed bug in the charts, now adding 0 to date works correctly