'How To Pass Dates As Dataset in ChartJS

I have created a chart and instead of numbers I want to show dates in xAxis and I want to set the progress of the bar as per the difference of days between two dates, for example on the first column in Week 1 inside W1 I want to show blue bar from 01/02/2022 to 10/02/2022 something like that, is it possible to do in Chart Js? I have attached the stack blitz link as well. Basically, I want to manage it using dates.

enter image description here

StackBlitz Demo



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source