-
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
Tooltip in 'x' mode doesn't always show all labels on the same X axis value #7766
Comments
Can you try with v3.0.0-beta? |
@kurkle just checked, sorry there're too much of breaking changes to fix them all just to check |
Ok, can you provided an interactive example? |
I have this issue currently with an enterprise solution my dev team is building. I'll work on a reproduction and get back to you guys. |
|
@Speculative the hover mode is configured independently from the tooltip mode. See https://jsfiddle.net/2qt6dncz/ |
https://jsfiddle.net/kqofb5m2/5/ Im having a similar issue, seems to maybe be caused by the mixed bar and line series. I have both hover and tooltips mode set to x. |
Expected Behavior
A tooltip must always show labels for all displayed chart datasets.
Current Behavior
Sometimes all labels don't get displayed in the tooltip.
Label callback doesn't get invoked for some chart datasets that visible on chart (blue and pink).
Possible Solution
The datasets may get filtered out for tooltip labels callback based on some unknown condition. This should be fixed to always invoke label callback for each of the chart dataset.
Steps to Reproduce
mode
to'x'
andintersect
tofalse
label
callback to the tooltipcallbacks
to render the labelslabel
callback sometimes doesn't get triggered for certain datasets at different x points so the labels don't get rendered to the tooltipContext
User should be able to see all dataset labels hovering at any chart x.
Environment
The text was updated successfully, but these errors were encountered: