-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Enhancement: support Tooltip opening on hover of specific chart element (Bar, Line Coordinate, etc.) #3388
Comments
Can we make the feature like @ckifer customized like this? |
Hi @ThuanNIT - this is a valid feature request but can you edit the title to reflect that? Something like "Enhancement: support Tooltip opening on hover of specific chart element" Thanks |
The Tooltip behaviour needs improvement, agree. If you could spend more time documenting the expected behaviour in this issue, that would highly increase the chance of us looking into it. How would that behave for Dots? How would it work for lines? How about the Area? |
IMO we need two different modes. One that maintains the current behavior - one that is scoped to the chart elements. Bar is easy (only show within rect bounds). Line would be only show on hover dot. Area would be within the area only to closest dot. Composed would be interesting |
|
Polar charts would be a little different but yeah the idea would be the same. (Although I think they behave closer to this way now than Cartesian graph items) |
https://codesandbox.io/embed/epic-herschel-w6j7se?file=/src/App.js&codemirror=1 |
I added a tooltip to your example, but I'm confused at what you're tying to do. https://codesandbox.io/s/intelligent-northcutt-x3ch1r?file=/src/App.js |
No description provided.
The text was updated successfully, but these errors were encountered: