plotly / plotly/graphing-library-docs

Unable to get plotly_clickannotation event fired

Open
#244 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
59
Forks
72
Avg merge
1d 19h
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked annotations example in the Plotly graphing-library documentation and reproduce the reported click behavior. Compare the example's event handling with the captureevents reference documentation; done means determining whether plotly_clickannotation fires as documented and updating the relevant documentation or reporting the confirmed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.