0👍
I had the same issue. By adding the missing dates into the dataset with a value of 0, I was able to get the desired display.
While I think the current behavior on bar width when you have missing days with a linear time scale is a bug, this is a workaround that wasn’t too bad for me as my data was not very sparse.
- Chartjs-Change legend style from bar to line chart.js 2.4.0
- Chartjs-How to chnage this value theHour[0].times into time format (HH:mm) using moment.js
Source:stackexchange.com