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-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 0d22eaa1 fix: add missing doc axis.nameTruncate. Close
apache/echarts#16206
0d22eaa1 is described below
commit 0d22eaa136bf6c06486ec9a8910f12f27306d69c
Author: Ovilia <[email protected]>
AuthorDate: Tue Jan 16 18:21:03 2024 +0800
fix: add missing doc axis.nameTruncate. Close apache/echarts#16206
---
en/option/component/axis-common.md | 12 ++++++++++++
zh/option/component/axis-common.md | 12 ++++++++++++
2 files changed, 24 insertions(+)
diff --git a/en/option/component/axis-common.md
b/en/option/component/axis-common.md
index 89b2b1dc..cce56315 100644
--- a/en/option/component/axis-common.md
+++ b/en/option/component/axis-common.md
@@ -509,6 +509,18 @@ Gap between axis name and axis line.
Rotation of axis name.
+#${prefix} nameTruncate(Object)
+
+Truncation of the axis name.
+
+##${prefix} maxWidth(number)
+
+The maximum length for the truncated text. Any text exceeding this length will
be truncated.
+
+##${prefix} ellipsis(string) = '...'
+
+The content displayed at the end of the text after truncation.
+
#${prefix} inverse(boolean) = false
<ExampleUIControlBoolean />
diff --git a/zh/option/component/axis-common.md
b/zh/option/component/axis-common.md
index 475af88c..7c4d8c09 100644
--- a/zh/option/component/axis-common.md
+++ b/zh/option/component/axis-common.md
@@ -505,6 +505,18 @@ splitLine: {
坐标轴名字旋转,角度值。
+#${prefix} nameTruncate(Object)
+
+坐标轴名字的截断。
+
+##${prefix} maxWidth(number)
+
+截断文本的最大长度,超过此长度会被截断。
+
+##${prefix} ellipsis(string) = '...'
+
+截断后文字末尾显示的内容。
+
#${prefix} inverse(boolean) = false
<ExampleUIControlBoolean />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]