Skip to content

How can I dispatch an annotation event #782

Answered by stockiNail
afshinmoshrefi asked this question in Q&A
Discussion options

You must be logged in to vote

@afshinmoshrefi The plugin is handling events coming from Chart.js by event hook of plugin interface.
Therefore, to dispatch an event, it is needed to dispatch an event on the chart canvas.

Here is a codepen: https://codepen.io/stockinail/pen/ExEENGQ

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@afshinmoshrefi
Comment options

Answer selected by afshinmoshrefi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants