The datasetStroke option has been fixed for line graphs

This commit is contained in:
Eric Perry 2015-08-18 17:56:19 -04:00
parent ac360b8dd1
commit 3f77eb83b2
2 changed files with 5 additions and 1 deletions

2
.gitignore vendored
View File

@ -5,3 +5,5 @@ node_modules/*
custom/*
docs/index.md
.settings/

View File

@ -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.