This is an automated email from the ASF dual-hosted git repository.

wangzx 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 1894b7f2 add missing `minMargin` option for `label`, resolves 
apache/echarts#19861
1894b7f2 is described below

commit 1894b7f26f8dcec8dcbafcd76f6f6f28decf70ee
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Wed Apr 24 08:36:58 2024 +0800

    add missing `minMargin` option for `label`, resolves apache/echarts#19861
---
 en/option/partial/label.md | 8 ++++++++
 zh/option/partial/label.md | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/en/option/partial/label.md b/en/option/partial/label.md
index f943fb60..dcf28163 100644
--- a/en/option/partial/label.md
+++ b/en/option/partial/label.md
@@ -51,6 +51,14 @@ See: [label 
rotation](${galleryEditorPath}bar-label-rotation).
 
 Whether to move text slightly. For example: `[30, 40]` means move `30` 
horizontally and move `40` vertically.
 
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+    version = "5.0.0"
+) }}
+
+Minimal margin between labels. Used when label has 
[layout](~series.labelLayout).
+
 {{ if: ${formatter} }}
 #${prefix} formatter(string|Function)
 
diff --git a/zh/option/partial/label.md b/zh/option/partial/label.md
index 9e4fe2fe..63d28915 100644
--- a/zh/option/partial/label.md
+++ b/zh/option/partial/label.md
@@ -51,6 +51,14 @@ ${name}图形上的文本标签,可用于说明图形的一些数据信息,
 
 是否对文字进行偏移。默认不偏移。例如:`[30, 40]` 表示文字在横向上偏移 `30`,纵向上偏移 `40`。
 
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+    version = "5.0.0"
+) }}
+
+用于控制标签之间的最小距离,当启用 [labelLayout](~series.labelLayout) 时可能会用到。
+
 {{ if: ${formatter} }}
 #${prefix} formatter(string|Function)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to