Tooltip Temporarily Combines data with mode:"x" and intersect:false
See original GitHub issueExpected Behavior
Tooltip should show the current axis intersect data correctly without what I can only describe as “render glitches”.
Current Behavior
When moving your mouse over the x-axis, you can see that the tooltip will “flutter” at some points, showing data as if there’s 3 or 4 datasets
instead of just 2. They only last for a short duration, and then fade away on the next render loop.
Possible Solution
Seems like something to do with how the intersect is being fetched is returning the wrong (or combined) result for some reason. Also note that there seems to be a related bug when you turn animations on in options.hover
(I turned them off). The issue seems to get much, much worse.
Steps to Reproduce
https://jsfiddle.net/mclean25/0hdzsftk/15/
Context
It would be a very big UX improvement if the tooltip were to render nicely instead of looking like something breaks temporarily.
Environment
- Chart.js version:
2.9.4
- Browser name and version: Version 87.0.4280.141 (Official Build) (x86_64)
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (7 by maintainers)
Top GitHub Comments
#9974 (or #9961) would solve the issue.
@JEK58 are you looking for something like that: https://jsfiddle.net/svt7g0rn/ ?