Add support for chart.js 4.x
kwent opened this issue · 3 comments
kwent commented
Add support for chart.js 4.x
https://www.chartjs.org/docs/latest/migration/v4-migration.html
ankane commented
Hey @kwent, added to Chartkick.js in ankane/chartkick.js@945b170, but want to do some more testing before releasing and upgrading the gem.
ankane commented
Quick update: I've done a lot of testing with different asset frameworks (importmaps, jsbundling esbuild, jsbundling webpack, jsbundling rollup, webpacker, sprockets), including support for plugins (#597), and am pretty happy with things.
There's an issue with the latest Chart.js (4.1.2) and Webpacker (which uses Webpack 4), which is resolved by chartjs/Chart.js#11037, so planning to release Chartkick 5 once that's out.
ankane commented
Chartkick 5 is out with support for this 🎉