Description
I migrated my CoreUI project from v3 to v4.
CoreUI updated Chart.JS to v3 which requires date adapters for time data: https://www.chartjs.org/docs/3.9.1/axes/cartesian/time.html#date-adapters
I have been unsuccessful at getting these date adapters to work properly. I've tried several adapters and I keep getting the following error:
Uncaught Error: This method is not implemented: Check that a complete date adapter is provided.
I think this has something to do with CoreUI's loading of Chart.JS. I believe the error implies that Chart.JS has not loaded yet when the data adapter is loaded, but I'm not sure on that.
In any case, I found evidence that someone else ran into this problem: https://stackoverflow.com/a/74710838/1332811
I have been able to use date adapters with Chart.JS by using react-chartjs-2 instead of coreui-react-chartjs, so I think there is something wrong with the CoreUI implementation that prevents date adapters from working.