plotly / graphing-library-docs

Plotly's graphing libraries documentation.
https://plotly.com/graphing-libraries
Other
54 stars 66 forks source link

Unable to get plotly_clickannotation event fired #244

Open sanghunjlee opened 1 year ago

sanghunjlee commented 1 year ago

https://github.com/plotly/graphing-library-docs/blob/2c363a71a03503aa77aa27bcf75ee1c1f60c5c99/_posts/plotly_js/fundamentals/annotations/2015-10-08-style-annotation-b.html#L86

I've tried to follow this code to get the annotation to close when clicked on it. However, the event doesn't seem to get fired. Per this documentation, I also tried setting captureevents to true. But it still doesn't get captured.