mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 00:14:03 +01:00
Fixed tooltip not showing in NULL datapoint in multi line chart
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user