From: amlethojalen Date: Wed, 6 Jul 2016 22:35:21 +0000 (+1000) Subject: Fixed up formatting suggestions/issues as per comments from zachpanz88 X-Git-Tag: v2.2.0-rc.1~10^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2911%2Fhead;p=thirdparty%2FChart.js.git Fixed up formatting suggestions/issues as per comments from zachpanz88 --- 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: [], };