]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add notes about more specific options for axes (#9923)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Tue, 30 Nov 2021 12:43:46 +0000 (14:43 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 12:43:46 +0000 (07:43 -0500)
docs/axes/cartesian/index.md
docs/axes/index.md

index e33dc105cf6ee38f6b7eec1015ca38a96c364458..a815e322265711239eb24052e0e06f502f6935b5 100644 (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
index b0d3a073586fadadc4d1899f0d8111f33dd3f11e..77b180a6f1b38750c4aa57ad592162028cb25c5a 100644 (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