Correct series highlight (#6578)

solves issue #6573
This commit is contained in:
Ben RUBSON 2016-11-15 18:59:17 +01:00 committed by Torkel Ödegaard
parent b9d709ab27
commit a4de6da9a0

View File

@ -195,7 +195,7 @@ function ($) {
}
var highlightClass = '';
if (item && i === item.seriesIndex) {
if (item && hoverInfo.index === item.seriesIndex) {
highlightClass = 'graph-tooltip-list-item--highlight';
}