Docs small update (#8791)

* 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
This commit is contained in:
Jacco van den Berg
2021-04-03 21:19:51 +02:00
committed by Jukka Kurkela
parent 01d5f237fc
commit bfd30eb9c5
2 changed files with 5 additions and 3 deletions

View 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

View 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)