This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push: new 4179a72 fix: demo of gauge label rotation 4179a72 is described below commit 4179a72664a78a708ac0ea23570fb599fcfaf007 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Mon Sep 26 16:27:54 2022 +0800 fix: demo of gauge label rotation --- contents/en/basics/release-note/5-4-0.md | 2 ++ contents/zh/basics/release-note/5-4-0.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/contents/en/basics/release-note/5-4-0.md b/contents/en/basics/release-note/5-4-0.md index 3cad248..839187a 100644 --- a/contents/en/basics/release-note/5-4-0.md +++ b/contents/en/basics/release-note/5-4-0.md @@ -40,6 +40,8 @@ In this release, we added the support of the Ukrainian language. **Now Apache EC In this version, we support text rotation of the Gauge series. +<md-example src="gauge-grade" width="100%" height="400" /> + `axisLabel.rotate` can be set to `'tangential' | 'radial' | number`. If it is of type `number`, it indicates the rotation angle of the label from -90 degrees to 90 degrees, with positive values being counterclockwise. In addition to this, it can also be the strings `'radial'` for radial rotation and `'tangential'` for tangential rotation. ## Full Changelog diff --git a/contents/zh/basics/release-note/5-4-0.md b/contents/zh/basics/release-note/5-4-0.md index 4f26f9a..26a6356 100644 --- a/contents/zh/basics/release-note/5-4-0.md +++ b/contents/zh/basics/release-note/5-4-0.md @@ -40,6 +40,8 @@ Apache ECharts 一个很强大的功能就是各种图表类型、坐标系、 在这个版本中,我们支持了仪表盘的文字旋转。 +<md-example src="gauge-grade" width="100%" height="400" /> + `axisLabel.rotate` 可以设为 `'tangential' | 'radial' | number`。如果是 `number` 类型,则表示标签的旋转角,从 -90 度到 90 度,正值是逆时针。除此之外,还可以是字符串 `'radial'` 表示径向旋转、`'tangential'` 表示切向旋转。 ## 完整更新记录 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org