]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
The datasetStroke option has been fixed for line graphs 1389/head
authorEric Perry <eric@ericjperry.com>
Tue, 18 Aug 2015 21:56:19 +0000 (17:56 -0400)
committerEric Perry <eric@ericjperry.com>
Tue, 18 Aug 2015 21:56:19 +0000 (17:56 -0400)
.gitignore
src/Chart.Line.js

index 3969d0aade1daad6836f72771b591f4a47300c4c..1986497d09e6a85af8aa4821a9f0550864b9c588 100644 (file)
@@ -5,3 +5,5 @@ node_modules/*
 custom/*
 
 docs/index.md
+
+.settings/
index 2ca73db6535ad801ba90cd6ed961919b5602b1c8..04a81f193c38696a5d567cb0204639c3db49d586 100644 (file)
                                        }
                                }, 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.