chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
603 stars 325 forks source link

Remove destroy plugin hook and replaced with afterDestroy #824

Closed stockiNail closed 1 year ago

stockiNail commented 1 year ago

With CHART.JS 4, PR https://github.com/chartjs/Chart.js/pull/10549, the destroy plugin hook has been removed and replaced with afterDestroy. Currently, the version 2.1.0 is not cleaning the states map.