From adacef8194ecf43464085d02c4232d5d25286d2c Mon Sep 17 00:00:00 2001 From: Vincent Chan Date: Mon, 2 May 2016 15:57:32 +0200 Subject: [PATCH 1/2] fixes several anchors --- docs/00-Getting-Started.md | 6 +++--- docs/02-Line-Chart.md | 6 +++--- docs/03-Bar-Chart.md | 4 ++-- docs/04-Radar-Chart.md | 2 +- docs/05-Polar-Area-Chart.md | 2 +- docs/06-Pie-Doughnut-Chart.md | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 22142e3e9..24ee0a5cb 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -5,9 +5,9 @@ anchor: getting-started ### Download Chart.js -To download a zip, go to [Chart.js on Github](https://github.com/nnnick/Chart.js) and choose the version that is right for your application. -* [Standard build](https://raw.githubusercontent.com/nnnick/Chart.js/v2.0-dev/dist/Chart.js) (~31kB gzipped) -* [Bundled with Moment.js](https://raw.githubusercontent.com/nnnick/Chart.js/v2.0-dev/dist/Chart.bundle.js) (~45kB gzipped) +To download a zip, go to [Chart.js on Github](https://github.com/chartjs/Chart.js) and choose the version that is right for your application. +* [Standard build](https://raw.githubusercontent.com/chartjs/Chart.js/v2.0-dev/dist/Chart.js) (~31kB gzipped) +* [Bundled with Moment.js](https://raw.githubusercontent.com/chartjs/Chart.js/v2.0-dev/dist/Chart.bundle.js) (~45kB gzipped) * [CDN Versions](https://cdnjs.com/libraries/Chart.js) To install via npm / bower: diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index 256bf3d4f..e4895083b 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -41,7 +41,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](#colors) +backgroundColor | `Color` | The fill color under the line. See [Colors](#getting-started-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) @@ -109,12 +109,12 @@ elements | Object | - | - *elements*.point | Object | - | - *elements.point*.radius | Number | `3` | Defines the size of the Point shape. Can be set to zero to skip rendering a point. scales | Object | - | - -*scales*.xAxes | Array | `[{type:"category","id":"x-axis-0"}]` | Defines all of the x axes used in the chart. See the [scale documentation](#getting-started-scales) for details on the available options. +*scales*.xAxes | Array | `[{type:"category","id":"x-axis-0"}]` | Defines all of the x axes used in the chart. See the [scale documentation](#scales) for details on the available options. *Options for xAxes* | | | type | String | "category" | As defined in ["Category"](#scales-category-scale). id | String | "x-axis-0" | Id of the axis so that data can bind to it. | | | - *scales*.yAxes | Array | `[{type:"linear","id":"y-axis-0"}]` | Defines all of the y axes used in the chart. See the [scale documentation](#getting-started-scales) for details on the available options. + *scales*.yAxes | Array | `[{type:"linear","id":"y-axis-0"}]` | Defines all of the y axes used in the chart. See the [scale documentation](#scales) for details on the available options. *Options for yAxes* | | | type | String | "linear" | As defined in ["Linear"](#scales-linear-scale). id | String | "y-axis-0" | Id of the axis so that data can bind to it. diff --git a/docs/03-Bar-Chart.md b/docs/03-Bar-Chart.md index 169691a34..d1f049605 100644 --- a/docs/03-Bar-Chart.md +++ b/docs/03-Bar-Chart.md @@ -32,7 +32,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](#colors) +backgroundColor | `Color or Array` | The fill color of the bars. See [Colors](#getting-started-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' @@ -115,7 +115,7 @@ new Chart(ctx, { We can also change these defaults values for each Bar type that is created, this object is available at `Chart.defaults.bar`. -#### barPercentage vs categoryPercentage +### barPercentage vs categoryPercentage The following shows the relationship between the bar percentage option and the category percentage option. diff --git a/docs/04-Radar-Chart.md b/docs/04-Radar-Chart.md index 840c9fe4f..8eb40547b 100644 --- a/docs/04-Radar-Chart.md +++ b/docs/04-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](#colors) +backgroundColor | `Color` | The fill color under the line. See [Colors](#getting-started-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/05-Polar-Area-Chart.md b/docs/05-Polar-Area-Chart.md index 4ad0def91..d0d4d3047 100644 --- a/docs/05-Polar-Area-Chart.md +++ b/docs/05-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](#colors) +backgroundColor | `Array` | The fill color of the arcs. See [Colors](#getting-started-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/06-Pie-Doughnut-Chart.md b/docs/06-Pie-Doughnut-Chart.md index dafa331ac..b96816cc9 100644 --- a/docs/06-Pie-Doughnut-Chart.md +++ b/docs/06-Pie-Doughnut-Chart.md @@ -46,7 +46,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](#colors) +backgroundColor | `Array` | The fill color of the arcs. See [Colors](#getting-started-colors) borderColor | `Array` | Arc border color borderWidth | `Array` | Border width of arcs in pixels hoverBackgroundColor | `Array` | Arc background color when hovered From 29606ae21f2aa279e9b3fd4cafda0c7be3da3599 Mon Sep 17 00:00:00 2001 From: Vincent Chan Date: Mon, 2 May 2016 16:01:26 +0200 Subject: [PATCH 2/2] changes repo link to chartjs org --- docs/08-Notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/08-Notes.md b/docs/08-Notes.md index e02c69a8f..61c9e7d0b 100644 --- a/docs/08-Notes.md +++ b/docs/08-Notes.md @@ -17,7 +17,7 @@ Browser support for the canvas element is available in all modern & major mobile ### Bugs & issues -Please report these on the GitHub page - at github.com/nnnick/Chart.js. If you could include a link to a simple jsbin or similar to demonstrate the issue, that'd be really helpful. +Please report these on the GitHub page - at github.com/chartjs/Chart.js. If you could include a link to a simple jsbin or similar to demonstrate the issue, that'd be really helpful. ### Contributing