1👍
This question seems very similar to this one over here. I think what you are looking for is something called spanGaps.
- Chartjs-Chart JS – Points and Tooltips Only at Specific Data Values
- Chartjs-Unable to install chartjs-node with npm, due to file cairo.h missing/Failed at the canvas@1.6.13 install script
Source:stackexchange.com