From 268abf8d7cdfbc00304bb82f7a69e5fe7657d565 Mon Sep 17 00:00:00 2001 From: Peter Pisljar Date: Tue, 11 Dec 2018 07:14:25 +0100 Subject: [PATCH] fixing tooltips for line chart (#26881) --- src/ui/public/vislib/visualizations/point_series/line_chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/public/vislib/visualizations/point_series/line_chart.js b/src/ui/public/vislib/visualizations/point_series/line_chart.js index 478e8fc60ad95..38d79f6e5a1ad 100644 --- a/src/ui/public/vislib/visualizations/point_series/line_chart.js +++ b/src/ui/public/vislib/visualizations/point_series/line_chart.js @@ -75,7 +75,7 @@ export function VislibVisualizationsLineChartProvider(Private) { .selectAll('circle') .data(function appendData() { return data.values.filter(function (d) { - return !_.isNull(d.y); + return !_.isNull(d.y) && (d.y || !d.y0); }); });