From 988423b05e99eb3e82bcf0f4e6b922d93a6e95d6 Mon Sep 17 00:00:00 2001 From: amlethojalen Date: Thu, 7 Jul 2016 08:35:21 +1000 Subject: [PATCH] Fixed up formatting suggestions/issues as per comments from zachpanz88 --- docs/01-Chart-Configuration.md | 2 +- samples/line-stepped.html | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/01-Chart-Configuration.md b/docs/01-Chart-Configuration.md index bf90e5b3c..a15cdbd36 100644 --- a/docs/01-Chart-Configuration.md +++ b/docs/01-Chart-Configuration.md @@ -355,7 +355,7 @@ borderDash | Array | `[]` | Default line dash. See [MDN](https://developer.mozil borderDashOffset | Number | 0.0 | Default line dash offset. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset) borderJoinStyle | String | 'miter' | Default line join style. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin) fill | Boolean | true | If true, the line is filled. -stepped | `Boolean` | If true, the line is shown as a steeped line and 'tension' will be ignored +stepped | Boolean | false | If true, the line is shown as a steeped line and 'tension' will be ignored #### Point Configuration diff --git a/samples/line-stepped.html b/samples/line-stepped.html index f9e456493..b482cf138 100644 --- a/samples/line-stepped.html +++ b/samples/line-stepped.html @@ -48,16 +48,16 @@ label: "My First dataset", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()], fill: false, - steppedLine: true, + steppedLine: true, borderDash: [5, 5], }, { hidden: true, label: 'hidden dataset', - steppedLine: true, + steppedLine: true, data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()], }, { label: "My Second dataset", - steppedLine: true, + steppedLine: true, data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()], }] }, @@ -150,11 +150,11 @@ label: "My First dataset", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()], fill: false, - steppedLine: true, + steppedLine: true, }, { label: "My Second dataset", fill: false, - steppedLine: true, + steppedLine: true, data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()], }] }; @@ -179,7 +179,7 @@ pointBorderColor: randomColor(0.7), pointBackgroundColor: randomColor(0.5), pointBorderWidth: 1, - steppedLine: true, + steppedLine: true, data: [], }; -- 2.47.2