]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Docs small update (#8791)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Sat, 3 Apr 2021 19:19:51 +0000 (21:19 +0200)
committerGitHub <noreply@github.com>
Sat, 3 Apr 2021 19:19:51 +0000 (22:19 +0300)
* Change tabs from area samples to buttons to switch to be in line with other samples, change linewith of extra line datasets to default instead of 1 to be in line with all other lines in the sampels

* Final tip to Note again and update latest v2 docs to latest release

* remove whitespace between tip and dots, remove double the in the note

* Update index.md

Implement feedback

docs/axes/cartesian/index.md
docs/developers/index.md

index a9e38b6f21a49a79ca5d40d5049e2601b8fe77aa..3995d49665d696258fa4932f4d771e59a32f7bfd 100644 (file)
@@ -283,8 +283,10 @@ module.exports = {
 };
 ```
 
-::: tip
-The `crossAlign` setting is not used the the tick rotation is not `0`, the axis position is `'center'` or the position is with respect to a data value.
+:::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'`
 :::
 
 ### Axis ID
index 052ca655470909676b673d7e7a2a909b99821160..1afdcce03979bf51baec1d96e88d13d1e70d2b3a 100644 (file)
@@ -45,5 +45,5 @@ Most earlier version options have current equivalents or are the same.
 
 Please note - documentation for previous versions are available online or in the GitHub repo.
 
-- [2.9.3 Documentation](https://www.chartjs.org/docs/2.9.3/)
+- [2.9.4 Documentation](https://www.chartjs.org/docs/2.9.4/)
 - [1.x Documentation](https://github.com/chartjs/Chart.js/tree/v1.1.1/docs)