mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Merge pull request #2860 from azranel/fix-scale-links-in-docs
Change ID links for scales objects
This commit is contained in:
commit
0dfb3bccfb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user