-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Milestone
Description
Expected Behavior
When hovering over two lines with equivalent data points, I would expect to see a tooltip with labels for both data points.
Current Behavior
When hovering over two lines with equivalent data points, the tooltip data does not combine. Rather, each individual tooltip "flashes" repeatedly one after the other.
Possible Solution
I would assume this would be an issue with the nearest method under Chart.Tooltip.positioners ?
Though there is also a getNearestItems function in core.interaction.js that might be worth checking out as well (side note: there is a typo in the getNearestItems comment, "teh" -> "the" 😄 )
Steps to Reproduce (for bugs)
From: http://www.chartjs.org/samples/latest/tooltips/interactions.html

Context
This doesn't impact me directly, but I could see it being an issue.
Environment
- Chart.js version: Latest (2.7.2)
- Browser name and version: Latest Chrome (65), Latest Firefox (59), Latest Safari (11)