-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Tooltips & x-axis mode v2.2.0 #3061
Comments
The animation is definitely a bug. I thought it was already reported, but I couldn't find a duplicate issue. That's an interesting idea for the x axis hover. Thoughts @simonbrunel @zachpanz88 @Mesonyx ? For #3, the points have a |
Nearest mode should be perfect :) |
nearest mode is exactly the 50% rule between two data points ( at least for tooltips.mode: 'x-axis'). would be great to have such an option! |
@frlinw the concept of the x-axis mode was I think implemented in #3400. We now have an |
Great work, waiting for 2.4 so :) I will test it asap @etimberg Just a question, you can't have 'label' mode (now 'index') + nearest feature? |
@frlinw you can do |
Fixed last remaining issue, the weird arrow during hover, in #3446 |
Hi,
1 - Tooltips arrow default position is "right" and we can see the arrow blink from the right to its calculated position during fade in and fade out animation.
2 - For bar chart, x-axis mode (thanks for this option @Mesonyx) depends of "stacked" param
if stacked is true, mode = label
if stacked is false, mode = single
So i'm wondering if "x-axis" shouldn't be an option instead of a "mode". It will give the liberty to have x-axis + single or x-axis + label.
3 - For line chart, when pointRadius = 0 (for a clean design or when there is a lot of data points) tooltip is visible only if your cursor is on the 1px corresponding to the X.
It is possible to have something like padding left/right = space between two points / 2 for the "hover zone" of the tooltip.
The text was updated successfully, but these errors were encountered: