From dc356b663946d4940b4e406350f64eed393f4b78 Mon Sep 17 00:00:00 2001 From: kopeczech Date: Fri, 17 Apr 2015 09:47:56 +0200 Subject: [PATCH] Fix for line charts with a data gap at the beginning When the values array starts with one or more null values, incorrect spot got highlighted on the chart when it was moused over. --- src/chart-line.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart-line.js b/src/chart-line.js index bb1c7ef..f133a2b 100644 --- a/src/chart-line.js +++ b/src/chart-line.js @@ -246,8 +246,8 @@ path = []; paths.push(path); } - vertices.push(null); } + vertices.push(null); } else { if (y < this.miny) { y = this.miny;