From 3f77eb83b28cfd198a83c5c0a3f7f4f4a0a85672 Mon Sep 17 00:00:00 2001 From: Eric Perry Date: Tue, 18 Aug 2015 17:56:19 -0400 Subject: [PATCH] The datasetStroke option has been fixed for line graphs --- .gitignore | 2 ++ src/Chart.Line.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3969d0aad..1986497d0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ node_modules/* custom/* docs/index.md + +.settings/ diff --git a/src/Chart.Line.js b/src/Chart.Line.js index 2ca73db65..04a81f193 100644 --- a/src/Chart.Line.js +++ b/src/Chart.Line.js @@ -355,7 +355,9 @@ } }, this); - ctx.stroke(); + if (this.options.datasetStroke) { + ctx.stroke(); + } if (this.options.datasetFill && pointsWithValues.length > 0){ //Round off the line by going to the base of the chart, back to the start, then fill. -- 2.47.2