]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Change ID links for scales objects 2860/head
authorBartosz Łęcki <bartosz.lecki@netguru.pl>
Tue, 28 Jun 2016 10:22:41 +0000 (12:22 +0200)
committerBartosz Łęcki <bartosz.lecki@netguru.pl>
Tue, 28 Jun 2016 10:22:41 +0000 (12:22 +0200)
docs/02-Scales.md

index 11f56fc6071850b1e1a456da7504e333730c893f..b77b42f598cfc8d189690314d2bc5cd7e0cff747 100644 (file)
@@ -33,9 +33,9 @@ afterCalculateTickRotation | Function | undefined | Callback that runs after tic
 beforeFit | Function | undefined | Callback that runs before the scale fits to the canvas. Passed a single argument, the scale instance.
 afterFit | Function | undefined | Callback that runs after the scale fits to the canvas. Passed a single argument, the scale instance.
 afterUpdate | Function | undefined | Callback that runs at the end of the update process. Passed a single argument, the scale instance.
-**gridLines** | Object | - | See [grid line configuration](#scales-grid-line-configuration) section.
-**scaleLabel** | Object | | See [scale title configuration](#scales-scale-title-configuration) section.
-**ticks** | Object | | See [ticks configuration](#scales-ticks-configuration) section.
+**gridLines** | Object | - | See [grid line configuration](#grid-line-configuration) section.
+**scaleLabel** | Object | | See [scale title configuration](#scale-title-configuration) section.
+**ticks** | Object | | See [ticks configuration](#ticks-configuration) section.
 
 #### Grid Line Configuration
 
@@ -222,7 +222,7 @@ parser | String or Function | - | If defined as a string, it is interpreted as a
 round | String | - | If defined, dates will be rounded to the start of this unit. See [Time Units](#scales-time-units) below for the allowed units.
 tooltipFormat | String | '' | The moment js format string to use for the tooltip.
 unit | String | - | If defined, will force the unit to be a certain type. See [Time Units](#scales-time-units) section below for details.
-unitStepSize | Number | 1 | The number of units between grid lines. 
+unitStepSize | Number | 1 | The number of units between grid lines.
 
 #### Date Formats
 
@@ -232,8 +232,8 @@ When providing data for the time scale, Chart.js supports all of the formats tha
 
 The following display formats are used to configure how different time units are formed into strings for the axis tick marks. See [moment.js](http://momentjs.com/docs/#/displaying/format/) for the allowable format strings.
 
-Name | Default 
---- | --- 
+Name | Default
+--- | ---
 millisecond | 'SSS [ms]'
 second | 'h:mm:ss a'
 minute | 'h:mm:ss a'
@@ -318,7 +318,7 @@ The following options are used to configure angled lines that radiate from the c
 
 Name | Type | Default | Description
 --- | --- | --- | ---
-display | Boolean | true | If true, angle lines are shown. 
+display | Boolean | true | If true, angle lines are shown.
 color | Color | 'rgba(0, 0, 0, 0.1)' | Color of angled lines
 lineWidth | Number | 1 | Width of angled lines