chart.bar - remove tooltip on mouseout

This commit is contained in:
Tanner Linsley 2015-06-13 00:45:43 -06:00
parent 0486db1e74
commit 763bde9ed1

View File

@ -263,14 +263,13 @@
events: function(e) {
// If exiting chart
if (e.type == 'mouseout') {
return this;
}
this.lastActive = this.lastActive || [];
// Find Active Elements
if (e.type == 'mouseout') {
this.active = [];
} else {
this.active = function() {
switch (this.options.hover.mode) {
case 'single':
@ -283,6 +282,7 @@
return e;
}
}.call(this);
}
// On Hover hook
if (this.options.hover.onHover) {