Fixed tooltip not showing in NULL datapoint in multi line chart

This commit is contained in:
Adileo Barone
2016-05-16 21:02:57 +02:00
parent 5514ee07c1
commit 4b540e70cf

View File

@@ -197,7 +197,7 @@ module.exports = function(Chart) {
var yPositions = [];
helpers.each(elements, function(el) {
if (el) {
if (el && el.hasValue()){
var pos = el.tooltipPosition();
xPositions.push(pos.x);
yPositions.push(pos.y);