Add notes about more specific options for axes (#9923)

This commit is contained in:
Jukka Kurkela 2021-11-30 14:43:46 +02:00 committed by GitHub
parent f10fab6591
commit 42e85942a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 2 deletions

View File

@ -192,6 +192,10 @@ module.exports = {
## Common Configuration
:::tip Note
These are only the common options supported by all cartesian axes. Please see the specific axis documentation for all the available options for that axis.
:::
!!!include(axes/cartesian/_common.md)!!!
!!!include(axes/_common.md)!!!
@ -221,6 +225,10 @@ The `bounds` property controls the scale boundary strategy (bypassed by `min`/`m
### Tick Configuration
:::tip Note
These are only the common tick options supported by all cartesian axes. Please see specific axis documentation for all of the available options for that axis.
:::
!!!include(axes/cartesian/_common_ticks.md)!!!
!!!include(axes/_common_ticks.md)!!!
@ -285,8 +293,9 @@ module.exports = {
:::tip Note
The `crossAlign` setting is only effective when these preconditions are met:
* tick rotation is `0`
* axis position is `'top'`, '`left'`, `'bottom'` or `'right'`
* tick rotation is `0`
* axis position is `'top'`, '`left'`, `'bottom'` or `'right'`
:::
### Axis ID

View File

@ -93,10 +93,18 @@ let chart = new Chart(ctx, {
## Common Configuration
:::tip Note
These are only the common options supported by all axes. Please see specific axis documentation for all of the available options for that axis.
:::
!!!include(axes/_common.md)!!!
## Tick Configuration
:::tip Note
These are only the common tick options supported by all axes. Please see specific axis documentation for all of the available tick options for that axis.
:::
!!!include(axes/_common_ticks.md)!!!
## Axis Range Settings