]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix copy paste error in new docs with respect to settings for line and radar charts...
authorEvert Timberg <evert.timberg+github@gmail.com>
Sat, 15 Jul 2017 20:39:27 +0000 (16:39 -0400)
committerGitHub <noreply@github.com>
Sat, 15 Jul 2017 20:39:27 +0000 (16:39 -0400)
docs/charts/line.md
docs/charts/radar.md

index 4991911303b47958422ebaa69a54266923fdae3f..9d0901be04c293e8fdf83a3d8293fac06b71cce5 100644 (file)
@@ -48,9 +48,9 @@ All point* properties can be specified as an array. If these are set to an array
 | `label` | `String` | The label for the dataset which appears in the legend and tooltips.
 | `xAxisID` | `String` | The ID of the x axis to plot this dataset on. If not specified, this defaults to the ID of the first found x axis
 | `yAxisID` | `String` | The ID of the y axis to plot this dataset on. If not specified, this defaults to the ID of the first found y axis.
-| `backgroundColor` | `Color/Color[]` | The fill color under the line. See [Colors](../general/colors.md#colors)
-| `borderColor` | `Color/Color[]` | The color of the line. See [Colors](../general/colors.md#colors)
-| `borderWidth` | `Number/Number[]` | The width of the line in pixels.
+| `backgroundColor` | `Color` | The fill color under the line. See [Colors](../general/colors.md#colors)
+| `borderColor` | `Color` | The color of the line. See [Colors](../general/colors.md#colors)
+| `borderWidth` | `Number/` | The width of the line in pixels.
 | `borderDash` | `Number[]` | Length and spacing of dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)
 | `borderDashOffset` | `Number` | Offset for line dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)
 | `borderCapStyle` | `String` | Cap style of the line. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)
index 592bb94ef5d09700f777446c500c842566684d94..ac908315cf90f530c6edcbe579145569caeb8378 100644 (file)
@@ -69,9 +69,9 @@ All point* properties can be specified as an array. If these are set to an array
 | Name | Type | Description
 | ---- | ---- | -----------
 | `label` | `String` | The label for the dataset which appears in the legend and tooltips.
-| `backgroundColor` | `Color/Color[]` | The fill color under the line. See [Colors](../general/colors.md#colors)
-| `borderColor` | `Color/Color[]` | The color of the line. See [Colors](../general/colors.md#colors)
-| `borderWidth` | `Number/Number[]` | The width of the line in pixels.
+| `backgroundColor` | `Color` | The fill color under the line. See [Colors](../general/colors.md#colors)
+| `borderColor` | `Color` | The color of the line. See [Colors](../general/colors.md#colors)
+| `borderWidth` | `Number` | The width of the line in pixels.
 | `borderDash` | `Number[]` | Length and spacing of dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash)
 | `borderDashOffset` | `Number` | Offset for line dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)
 | `borderCapStyle` | `String` | Cap style of the line. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)