Replies: 2 comments 3 replies
-
I am not sure this can be helpful for you. To resolve this, I provide the following steps:
If the above steps don't resolve the issue, make sure that your project has compatible versions of Chart.js, chartjs-adapter-moment, and any other related dependencies. It's also worth mentioning that some older versions of the chartjs-adapter-moment library may have compatibility issues. So, if you're using an older version, consider updating to the latest version. I hope these steps help you resolve the issue with chartjs-adapter-moment. Let me know if you have any further questions! |
Beta Was this translation helpful? Give feedback.
-
We had the same problem which we were able to solve by setting the following
The problem was that in our code Webpack imported the commonjs distribution of chart.js (file |
Beta Was this translation helpful? Give feedback.
-
I, for the life of me, can't figure out why
chartjs-adapter-moment
is not working with my time scale. I punted this a few months back, but it looks like I'll be using a lot of data that's going to make it difficult to avoid at this point.Here's my error:
Here's a link to a gist I made with the code I'm using.
Anyone ever encounter this? I tried luxon, date-fns, all the same story. Incredibly frustrated right now.
Beta Was this translation helpful? Give feedback.
All reactions