From: zachpanz88 Date: Tue, 12 Jul 2016 15:33:48 +0000 (-0400) Subject: Update link to Colors in documentation for each chart type X-Git-Tag: v2.2.0-rc.1~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=885eeb091a0908cf80767f2af515ac73f3abe52d;p=thirdparty%2FChart.js.git Update link to Colors in documentation for each chart type --- diff --git a/docs/03-Line-Chart.md b/docs/03-Line-Chart.md index bc7a71a6c..2afed405a 100644 --- a/docs/03-Line-Chart.md +++ b/docs/03-Line-Chart.md @@ -40,7 +40,7 @@ xAxisID | `String` | The ID of the x axis to plot this dataset on yAxisID | `String` | The ID of the y axis to plot this dataset on fill | `Boolean` | If true, fill the area under the line lineTension | `Number` | Bezier curve tension of the line. Set to 0 to draw straightlines. *Note* This was renamed from 'tension' but the old name still works. -backgroundColor | `Color` | The fill color under the line. See [Colors](#getting-started-colors) +backgroundColor | `Color` | The fill color under the line. See [Colors](#chart-configuration-colors) borderWidth | `Number` | The width of the line in pixels borderColor | `Color` | The color of the line. borderCapStyle | `String` | Cap style of the line. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap) diff --git a/docs/04-Bar-Chart.md b/docs/04-Bar-Chart.md index 4e27916b7..6f0e2a707 100644 --- a/docs/04-Bar-Chart.md +++ b/docs/04-Bar-Chart.md @@ -42,7 +42,7 @@ data | `Array` | The data to plot as bars 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 yAxisID | `String` | The ID of the y axis to plot this dataset on -backgroundColor | `Color or Array` | The fill color of the bars. See [Colors](#getting-started-colors) +backgroundColor | `Color or Array` | The fill color of the bars. See [Colors](#chart-configuration-colors) borderColor | `Color or Array` | Bar border color borderWidth | `Number or Array` | Border width of bar in pixels borderSkipped | `String or Array` | Which edge to skip drawing the border for. Options are 'bottom', 'left', 'top', and 'right' diff --git a/docs/05-Radar-Chart.md b/docs/05-Radar-Chart.md index ce98dc4e9..161f78768 100644 --- a/docs/05-Radar-Chart.md +++ b/docs/05-Radar-Chart.md @@ -34,7 +34,7 @@ data | `Array` | The data to plot in a line label | `String` | The label for the dataset which appears in the legend and tooltips fill | `Boolean` | If true, fill the area under the line lineTension | `Number` | Bezier curve tension of the line. Set to 0 to draw straightlines. *Note* This was renamed from 'tension' but the old name still works. -backgroundColor | `Color` | The fill color under the line. See [Colors](#getting-started-colors) +backgroundColor | `Color` | The fill color under the line. See [Colors](#chart-configuration-colors) borderWidth | `Number` | The width of the line in pixels borderColor | `Color` | The color of the line. borderCapStyle | `String` | Cap style of the line. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap) diff --git a/docs/06-Polar-Area-Chart.md b/docs/06-Polar-Area-Chart.md index 3b94b7318..a92d8893f 100644 --- a/docs/06-Polar-Area-Chart.md +++ b/docs/06-Polar-Area-Chart.md @@ -31,7 +31,7 @@ Property | Type | Usage --- | --- | --- data | `Array` | The data to plot as bars label | `String` | The label for the dataset which appears in the legend and tooltips -backgroundColor | `Array` | The fill color of the arcs. See [Colors](#getting-started-colors) +backgroundColor | `Array` | The fill color of the arcs. See [Colors](#chart-configuration-colors) borderColor | `Array` | Arc border color borderWidth | `Array` | Border width of arcs in pixels hoverBackgroundColor | `Array` | Arc background color when hovered diff --git a/docs/07-Pie-Doughnut-Chart.md b/docs/07-Pie-Doughnut-Chart.md index df7640655..b3a05551b 100644 --- a/docs/07-Pie-Doughnut-Chart.md +++ b/docs/07-Pie-Doughnut-Chart.md @@ -46,7 +46,7 @@ Property | Type | Usage --- | --- | --- data | `Array` | The data to plot as arcs label | `String` | The label for the dataset which appears in the legend and tooltips -backgroundColor | `Array` | The fill color of the arcs. See [Colors](#getting-started-colors) +backgroundColor | `Array` | The fill color of the arcs. See [Colors](#chart-configuration-colors) borderColor | `Array` | Arc border color borderWidth | `Array` | Border width of arcs in pixels hoverBackgroundColor | `Array` | Arc background color when hovered diff --git a/docs/08-Bubble-Chart.md b/docs/08-Bubble-Chart.md index cca366406..085718bd4 100644 --- a/docs/08-Bubble-Chart.md +++ b/docs/08-Bubble-Chart.md @@ -27,7 +27,7 @@ Property | Type | Usage --- | --- | --- data | `Array` | The data to plot as bubbles. See [Data format](#bubble-chart-data-format) label | `String` | The label for the dataset which appears in the legend and tooltips -backgroundColor | `Color Array` | The fill color of the bubbles. +backgroundColor | `Color Array` | The fill color of the bubbles. See [Colors](#chart-configuration-colors) borderColor | `Color or Array` | The stroke color of the bubbles. borderWidth | `Number or Array` | The stroke width of bubble in pixels. hoverBackgroundColor | `Color or Array` | The fill color of the bubbles when hovered.