]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Indicate that axis callbacks are at top level of options (#7451)
authorEvert Timberg <evert.timberg+github@gmail.com>
Mon, 1 Jun 2020 12:06:59 +0000 (08:06 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 12:06:59 +0000 (08:06 -0400)
docs/docs/axes/index.md

index bfc38b14d9ebc2afe34d5cd05e0f0d8daca9c01b..cfefc2862698f051d66e6533366ad592d1b4caa9 100644 (file)
@@ -20,12 +20,11 @@ The following properties are common to all axes provided by Chart.js.
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
 | `display` | <code>boolean&#124;string</code> | `true` | Controls the axis global visibility (visible when `true`, hidden when `false`). When `display: 'auto'`, the axis is visible only if at least one associated dataset is visible.
-| `callbacks` | `object` | | Callback functions to hook into the axis lifecycle. [more...](#callbacks)
 | `weight` | `number` | `0` | The weight used to sort the axis. Higher weights are further away from the chart area.
 
 ### Callbacks
 
-There are a number of config callbacks that can be used to change parameters in the scale at different points in the update process.
+There are a number of config callbacks that can be used to change parameters in the scale at different points in the update process. The options are supplied at the top level of the axis options.
 
 | Name | Arguments | Description
 | ---- | --------- | -----------