Closed Arantiryo closed 11 months ago
@AbelHeinsbroek Could you please take a look at this PR?
This doesn’t seem compatible with the latest version on chartJs as there are some breaking changes released in version 4. To be specific, the destroy has been replaced and therefore is not run when destroying the plugin.
https://www.chartjs.org/docs/latest/migration/v4-migration.html#specific-changes
Thanks for trying to bump it, it did create some breaking changes, so I fixed those in a separate PR. https://github.com/AbelHeinsbroek/chartjs-plugin-crosshair/pull/122
The plugin seems to work correctly with
Chart.js
4.x so the PR updatespeerDependencies
to reflect that.