4👍
✅
Since chart.js v3 chart.js does not ship with a data adapter anymore, for your chart to work you will have to include one yourself: https://www.chartjs.org/docs/master/axes/cartesian/time.html#date-adapters
Also the legend needs to be configured in the plugins section as stated in the migration docs.
Working sample: https://codesandbox.io/s/epic-chebyshev-82goo?file=/src/index.js:5914-5917
Source:stackexchange.com