From de63100d8a12528b29e6e9ab7a9e43c32d206f30 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Thu, 24 Aug 2017 15:39:07 +0200 Subject: [PATCH] DASH: make sure sparklines don't contain null values --- python_suite/dashboard/static/js/sparkline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/python_suite/dashboard/static/js/sparkline.js b/python_suite/dashboard/static/js/sparkline.js index 3f87dc9..4ca9b2b 100644 --- a/python_suite/dashboard/static/js/sparkline.js +++ b/python_suite/dashboard/static/js/sparkline.js @@ -77,6 +77,7 @@ function sparkline() { // Define the line var valueline = d3.svg.line() + .defined(function (d) { return d[1] !== null; }) .x(function (d) { return x(d[0]); }) .y(function (d) { return y(d[1]); }); -- 2.43.0