Fix multi-dataset bar highlighting and bar highlight color logic

This commit is contained in:
David Cochrum
2016-03-11 12:19:12 -05:00
parent cf47543243
commit 48c082b04a

8
Chart.js vendored
View File

@@ -2335,10 +2335,8 @@
bar.restore(['fillColor', 'strokeColor']);
});
helpers.each(activeBars, function(activeBar){
if (activeBar) {
activeBar.fillColor = activeBar.highlightFill;
activeBar.strokeColor = activeBar.highlightStroke;
}
activeBar.fillColor = activeBar.highlightFill;
activeBar.strokeColor = activeBar.highlightStroke;
});
this.showTooltip(activeBars);
});
@@ -3731,4 +3729,4 @@
}).call(this);
}).call(this);