From: Evert Timberg Date: Mon, 1 Jun 2020 12:06:59 +0000 (-0400) Subject: Indicate that axis callbacks are at top level of options (#7451) X-Git-Tag: v3.0.0-beta.2~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e38cc257fb1c5c67139db9dd49032eeec498c2bf;p=thirdparty%2FChart.js.git Indicate that axis callbacks are at top level of options (#7451) --- diff --git a/docs/docs/axes/index.md b/docs/docs/axes/index.md index bfc38b14d..cfefc2862 100644 --- a/docs/docs/axes/index.md +++ b/docs/docs/axes/index.md @@ -20,12 +20,11 @@ The following properties are common to all axes provided by Chart.js. | Name | Type | Default | Description | ---- | ---- | ------- | ----------- | `display` | boolean|string | `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 | ---- | --------- | -----------