-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChartJS Version 3: This NPM Package Appears to Work #38
Comments
I think it should be @zsu in the last line. |
Oops! You are correct. Sorry about that. I have updated the first post. |
I believe I've figured out how to make this plugin (the v3 version 0.5.4) work in chart.js v4 (at least, it seems to work in my brief test of it). Summary of the changes: On line 10, removed ", global.helpers" That was all I needed to do. |
I, like many others here, ran into an issue using ChartJS version 3 and @nagix's colorschemes plugin. I use NPM + Webpack to manage my Javascript dependencies, so if you're looking for a working NPM package, I suggest checking out:
https://www.npmjs.com/package/chartjs-plugin-colorschemes-v3
The package is based on @m08pvv's fork of @zsu's fork of this repo. Kudos to both of them!
What about ChartJS Version 4?
I tested
chartjs-plugin-colorschemes-v3
, and unfortunately, it does not work with version 4. I spent a few hours trying to figure out the problem, but I hit a brick wall. Perhaps someone smarter than me can figure out why colorschemes won't register itself as a global plugin in version 4.I hope that @zsu and @m08pvv update their repos to enable Issues so we can report bugs and such.
The text was updated successfully, but these errors were encountered: