chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
607 stars 328 forks source link

Remove dblclick hook to prepare chart redrawing from an event hook #716

Closed stockiNail closed 2 years ago

stockiNail commented 2 years ago

This PR is removing dblclick event hook. This is done in order to enable the chart redrawing from event hook, see issue #593.

To perform a double click, the plugin has to work in asynchronous way and this is a showstopper to enable the chart redrawing because the event hook should return true if redrawing is needed.