[BUG]: No click events in polar charts if drag mode is not zoom
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Description
When the drag mode is not set to zoom for polar charts the click events stop emitting entirely
Screenshots/Video
I have recreated the issue here in codepen
https://codepen.io/hcrocker/pen/RNrdYOM
Steps to reproduce
- with dragmode set to "pan" and clickmode set to "event" in the layout
- click anywhere on the polar chart
- nothing happens (expected: should see alert from click event function)
- with dragmode set to "zoom"
- click anywhere on the polar chart
- you can see the alert from the click event function
Notes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CodePen reproduction linked in the issue and trace the polar chart interaction path for dragmode="pan" with clickmode="event". Done means clicking the polar chart emits the click event and preserves the existing behavior when dragmode="zoom".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100