Fixed up formatting suggestions/issues as per comments from zachpanz88

This commit is contained in:
amlethojalen 2016-07-07 08:35:21 +10:00
parent 68728fc9a7
commit 988423b05e
2 changed files with 7 additions and 7 deletions

View File

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

View File

@ -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: [],
};