Show rectangle points at end of bars, even negative ones.

This commit is contained in:
Evert Timberg 2015-12-21 15:52:19 -05:00
parent fc3a3aedaf
commit d26ab24e3c

View File

@ -78,17 +78,10 @@
},
tooltipPosition: function() {
var vm = this._view;
if (vm.y < vm.base) {
return {
x: vm.x,
y: vm.y
};
} else {
return {
x: vm.x,
y: vm.base
};
}
return {
x: vm.x,
y: vm.y
};
},
});