From 35e8af726dd7f9f9fbbf3b92744ba27826cc8750 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Sat, 3 Apr 2021 21:19:51 +0200 Subject: [PATCH] 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 --- docs/axes/cartesian/index.md | 6 ++++-- docs/developers/index.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/axes/cartesian/index.md b/docs/axes/cartesian/index.md index a9e38b6f21a..3995d49665d 100644 --- a/docs/axes/cartesian/index.md +++ b/docs/axes/cartesian/index.md @@ -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 diff --git a/docs/developers/index.md b/docs/developers/index.md index 052ca655470..1afdcce0397 100644 --- a/docs/developers/index.md +++ b/docs/developers/index.md @@ -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)