Skip to content

Feature Request: Add more click handlers for interactive/mesh charts #2691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
opgregurek opened this issue Feb 26, 2025 · 0 comments
Open

Comments

@opgregurek
Copy link

Is your feature request related to a problem? Please describe.
Not a problem, but seen discussions (and including an old draft) PR of implementing brush functionality on charts. As much as I would love this, I can understand that's quite a complex feature to build. In the meantime, I am using a combination of the onClick/onMouseMove handlers and custom layer on my line charts/scatter plots to implement something close to a brush functionality. However, my natural instinct is to click and drag but the onMouseDown is not handled.

Describe the solution you'd like
Add onMouseDown, onMouseUp, onDoubleClick handlers for all charts that are interactive.

Additional context
Am happy to write the PR as it should be fairly simple :) but not sure if this is a feature yall are happy with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant