]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fixes several anchors
authorVincent Chan <plus.vincchan@gmail.com>
Mon, 2 May 2016 13:57:32 +0000 (15:57 +0200)
committerVincent Chan <plus.vincchan@gmail.com>
Mon, 2 May 2016 13:57:32 +0000 (15:57 +0200)
docs/00-Getting-Started.md
docs/02-Line-Chart.md
docs/03-Bar-Chart.md
docs/04-Radar-Chart.md
docs/05-Polar-Area-Chart.md
docs/06-Pie-Doughnut-Chart.md

index 22142e3e9e195f98041cf5a3649fff2457d9a3d0..24ee0a5cbc97686f1ed7f6cd325e9bac300722f5 100644 (file)
@@ -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:
index 256bf3d4fe40d5c84953ba0861eb441cfb8fd908..e4895083b48d7b689454fed08e043e7aa6999e75 100644 (file)
@@ -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.
index 169691a348c32b97a804945d53b4dccdbc17f4e1..d1f04960574b0a4a89edb68001d703fda75066c0 100644 (file)
@@ -32,7 +32,7 @@ data | `Array<Number>` | 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<Color>` | The fill color of the bars. See [Colors](#colors)
+backgroundColor | `Color or Array<Color>` | The fill color of the bars. See [Colors](#getting-started-colors)
 borderColor | `Color or Array<Color>` | Bar border color
 borderWidth | `Number or Array<Number>` | Border width of bar in pixels
 borderSkipped | `String or Array<String>` | 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.
 
index 840c9fe4f61c4b801c1d23625c283451e365e20e..8eb40547b383d8f5fc95967982bcf68376265e1c 100644 (file)
@@ -34,7 +34,7 @@ data | `Array<Number>` | 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)
index 4ad0def914dc60015314888cd85ac79889f62a71..d0d4d3047c4a8d84e53949a3ee293f4130db76aa 100644 (file)
@@ -31,7 +31,7 @@ Property | Type | Usage
 --- | --- | ---
 data | `Array<Number>` | The data to plot as bars
 label | `String` | The label for the dataset which appears in the legend and tooltips
-backgroundColor | `Array<Color>` | The fill color of the arcs. See [Colors](#colors)
+backgroundColor | `Array<Color>` | The fill color of the arcs. See [Colors](#getting-started-colors)
 borderColor | `Array<Color>` | Arc border color
 borderWidth | `Array<Number>` | Border width of arcs in pixels
 hoverBackgroundColor | `Array<Color>` | Arc background color when hovered
index dafa331acd1963d87eafaf1eacd76b453a74d050..b96816cc9056763d657f4f2d95950a64a10bc24b 100644 (file)
@@ -46,7 +46,7 @@ Property | Type | Usage
 --- | --- | ---
 data | `Array<Number>` | The data to plot as bars
 label | `String` | The label for the dataset which appears in the legend and tooltips
-backgroundColor | `Array<Color>` | The fill color of the arcs. See [Colors](#colors)
+backgroundColor | `Array<Color>` | The fill color of the arcs. See [Colors](#getting-started-colors)
 borderColor | `Array<Color>` | Arc border color
 borderWidth | `Array<Number>` | Border width of arcs in pixels
 hoverBackgroundColor | `Array<Color>` | Arc background color when hovered