From: Adileo Barone Date: Mon, 16 May 2016 19:02:57 +0000 (+0200) Subject: Fixed tooltip not showing in NULL datapoint in multi line chart X-Git-Tag: v2.1.4~15^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F2567%2Fhead;p=thirdparty%2FChart.js.git Fixed tooltip not showing in NULL datapoint in multi line chart --- diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index 38ec6eac9..44ceee7c4 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -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);