tweak `minMargin` doc
diff --git a/en/option/component/geo-common.md b/en/option/component/geo-common.md
index 7d7470a..12b8ac0 100644
--- a/en/option/component/geo-common.md
+++ b/en/option/component/geo-common.md
@@ -240,7 +240,8 @@
{{ use: partial-label(
prefix = "#" + ${prefix},
- formatter = true
+ formatter = true,
+ minMargin = ${labelMinMargin}
) }}
#${prefix} itemStyle(Object)
diff --git a/en/option/partial/label.md b/en/option/partial/label.md
index dcf2816..402381d 100644
--- a/en/option/partial/label.md
+++ b/en/option/partial/label.md
@@ -51,6 +51,7 @@
Whether to move text slightly. For example: `[30, 40]` means move `30` horizontally and move `40` vertically.
+{{ if: ${minMargin} }}
#${prefix} minMargin(number)
{{ use: partial-version(
@@ -58,6 +59,7 @@
) }}
Minimal margin between labels. Used when label has [layout](~series.labelLayout).
+{{ /if }}
{{ if: ${formatter} }}
#${prefix} formatter(string|Function)
diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index d94b3b7..eaafee4 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -319,7 +319,8 @@
prefix = "#" + ${prefix},
defaultPosition = "'inside'",
noPosition = true,
- formatter = ${topLevel}
+ formatter = ${topLevel},
+ minMargin = ${state} === 'normal'
) }}
##${prefix} position(string|Array) = 'inside'
diff --git a/en/option/series/effectScatter.md b/en/option/series/effectScatter.md
index 13acd46..3e30aa6 100644
--- a/en/option/series/effectScatter.md
+++ b/en/option/series/effectScatter.md
@@ -103,7 +103,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -218,7 +219,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/en/option/series/funnel.md b/en/option/series/funnel.md
index 8275c99..2b8faa3 100644
--- a/en/option/series/funnel.md
+++ b/en/option/series/funnel.md
@@ -87,7 +87,8 @@
{{ use: partial-funnel-label(
prefix = "##",
position = true,
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -219,7 +220,8 @@
{{ use: partial-funnel-label(
prefix = "###",
position = true,
- formatter = false
+ formatter = false,
+ minMargin = true
) }}
### labelLine(Object)
@@ -342,6 +344,16 @@
[labelLine](~series-funnel.labelLine) can be used to guide to the corresponding trapezoid when label is not inside.
{{ /if }}
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Minimal margin between labels. Used when label has [layout](~series-funnel.labelLayout).
+{{ /if }}
+
{{ if: ${formatter} }}
#${prefix} formatter(string|Function)
diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index 7f24766..6239f52 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -209,7 +209,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## edgeLabel(Object)
@@ -432,7 +433,8 @@
The label style of this node.
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/en/option/series/heatmap.md b/en/option/series/heatmap.md
index 761b9d1..9a3ae65 100644
--- a/en/option/series/heatmap.md
+++ b/en/option/series/heatmap.md
@@ -57,7 +57,8 @@
{{ use: partial-label(
prefix = "##",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -164,7 +165,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### itemStyle(Object)
diff --git a/en/option/series/line.md b/en/option/series/line.md
index 3bdfc4c..d51284a 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -118,7 +118,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'top'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## endLabel(Object)
@@ -132,7 +133,8 @@
{{ use: partial-label(
prefix = "##",
formatter = true,
- noPosition = true
+ noPosition = true,
+ minMargin = true
) }}
### valueAnimation(boolean)
@@ -356,7 +358,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "top"
+ defaultPosition = "top",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/en/option/series/lines.md b/en/option/series/lines.md
index 7817e92..0a61de5 100644
--- a/en/option/series/lines.md
+++ b/en/option/series/lines.md
@@ -132,7 +132,8 @@
Label settings. Does not work when [polyline](~series-lines.polyline) is `true`.
{{ use: lines-label(
- prefix = "##"
+ prefix = "##",
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -230,7 +231,8 @@
Label of a single line. Available when [polyline](~series-lines.polyline) is not `true`.
{{ use: lines-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
@@ -315,6 +317,16 @@
+ `'middle'`
+ `'end'`
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Minimal margin between labels. Used when label has [layout](~series-lines.labelLayout).
+{{ /if }}
+
#${prefix} formatter(string|Function)
{{ use: partial-2d-data-label-formatter() }}
diff --git a/en/option/series/map.md b/en/option/series/map.md
index b7c6ff0..e7e4104 100644
--- a/en/option/series/map.md
+++ b/en/option/series/map.md
@@ -21,7 +21,8 @@
{{ use: geo-common(
prefix = '#',
- inMap = true
+ inMap = true,
+ labelMinMargin = true
) }}
## center(Array)
@@ -135,7 +136,8 @@
defaultPosition = "'bottom'",
formatter = true,
noAlign = true,
- noVerticalAlign = true
+ noVerticalAlign = true,
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/en/option/series/pictorialBar.md b/en/option/series/pictorialBar.md
index 551e3a8..0ca8a9e 100644
--- a/en/option/series/pictorialBar.md
+++ b/en/option/series/pictorialBar.md
@@ -79,7 +79,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -210,7 +211,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/en/option/series/pie.md b/en/option/series/pie.md
index 267176d..8fba7dc 100644
--- a/en/option/series/pie.md
+++ b/en/option/series/pie.md
@@ -165,7 +165,8 @@
{{ use: partial-pie-label(
prefix = "##",
position = true,
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
### alignTo(string) = 'none'
@@ -371,7 +372,8 @@
{{ use: partial-pie-label(
prefix = "###",
position = true,
- formatter = false
+ formatter = false,
+ minMargin = true
) }}
### labelLine(Object)
@@ -501,6 +503,16 @@
In the center of pie chart. See [pie-doughnut example](${galleryEditorPath}pie-doughnut)
{{ /if }}
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Minimal margin between labels. Used when label has [layout](~series-pie.labelLayout).
+{{ /if }}
+
{{ if: ${formatter} }}
#${prefix} formatter(string|Function)
diff --git a/en/option/series/radar.md b/en/option/series/radar.md
index eb2d341..33ca5dd 100644
--- a/en/option/series/radar.md
+++ b/en/option/series/radar.md
@@ -42,7 +42,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'top'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -180,7 +181,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "top"
+ defaultPosition = "top",
+ minMargin = true
) }}
### itemStyle(Object)
diff --git a/en/option/series/sankey.md b/en/option/series/sankey.md
index c7dcf65..19ae514 100644
--- a/en/option/series/sankey.md
+++ b/en/option/series/sankey.md
@@ -184,7 +184,8 @@
prefix = "##",
defaultShowLabel = true,
defaultPosition = "'right'",
- formatter1d = true
+ formatter1d = true,
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -310,7 +311,8 @@
The lable style of this node.
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/en/option/series/scatter.md b/en/option/series/scatter.md
index 7020218..879432b 100644
--- a/en/option/series/scatter.md
+++ b/en/option/series/scatter.md
@@ -50,7 +50,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -188,7 +189,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/en/option/series/sunburst.md b/en/option/series/sunburst.md
index 0c40d23..6927ec2 100644
--- a/en/option/series/sunburst.md
+++ b/en/option/series/sunburst.md
@@ -40,7 +40,8 @@
},
defaultShowLabel = "true",
noRotate = true,
- noAlign = true
+ noAlign = true,
+ minMargin = ${minMargin}
) }}
@@ -58,7 +59,8 @@
) }}
{{ use: partial-sunburst-label-helper(
- prefix = ${prefix} + '#'
+ prefix = ${prefix} + '#',
+ minMargin = ${state} === 'normal'
) }}
#${prefix} labelLine(Object)
diff --git a/en/option/series/themeRiver.md b/en/option/series/themeRiver.md
index 15f5ab8..b17ff57 100644
--- a/en/option/series/themeRiver.md
+++ b/en/option/series/themeRiver.md
@@ -68,7 +68,8 @@
noAlign = true,
noVerticalAlign = true,
defaultColor = "'#000'",
- defaultFontSize = 11
+ defaultFontSize = 11,
+ minMargin = true
) }}
## labelLine(Object)
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 53a5713..2f5c8bb 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -141,7 +141,8 @@
desc: 'The ancestors of current node (including self)',
type: 'Array'
}
- }
+ },
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -348,7 +349,8 @@
The label of the node.
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 9e5b1f8..1fbe258 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -561,7 +561,8 @@
desc: 'The ancestors of current node (including self)',
type: 'Array'
}
- }
+ },
+ minMargin = true
) }}
#${prefix} upperLabel(Object)
diff --git a/zh/option/component/geo-common.md b/zh/option/component/geo-common.md
index 51cc6e5..cde3214 100644
--- a/zh/option/component/geo-common.md
+++ b/zh/option/component/geo-common.md
@@ -237,7 +237,8 @@
{{ use: partial-label(
prefix = "#" + ${prefix},
- formatter = true
+ formatter = true,
+ minMargin = ${labelMinMargin}
) }}
#${prefix} itemStyle(Object)
diff --git a/zh/option/partial/label.md b/zh/option/partial/label.md
index 63d2891..a398a9f 100644
--- a/zh/option/partial/label.md
+++ b/zh/option/partial/label.md
@@ -51,6 +51,7 @@
是否对文字进行偏移。默认不偏移。例如:`[30, 40]` 表示文字在横向上偏移 `30`,纵向上偏移 `40`。
+{{ if: ${minMargin} }}
#${prefix} minMargin(number)
{{ use: partial-version(
@@ -58,6 +59,7 @@
) }}
用于控制标签之间的最小距离,当启用 [labelLayout](~series.labelLayout) 时可能会用到。
+{{ /if }}
{{ if: ${formatter} }}
#${prefix} formatter(string|Function)
diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md
index 3bbdd57..fd98e48 100644
--- a/zh/option/series/bar.md
+++ b/zh/option/series/bar.md
@@ -395,7 +395,8 @@
prefix = "#" + ${prefix},
defaultPosition = "'inside'",
noPosition = true,
- formatter = ${topLevel}
+ formatter = ${topLevel},
+ minMargin = ${state} === 'normal'
) }}
##${prefix} position(string|Array) = 'inside'
diff --git a/zh/option/series/effectScatter.md b/zh/option/series/effectScatter.md
index e6d3b44..6b23eb9 100644
--- a/zh/option/series/effectScatter.md
+++ b/zh/option/series/effectScatter.md
@@ -120,7 +120,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -235,7 +236,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/zh/option/series/funnel.md b/zh/option/series/funnel.md
index 0398468..4ad5265 100644
--- a/zh/option/series/funnel.md
+++ b/zh/option/series/funnel.md
@@ -109,7 +109,8 @@
{{ use: partial-funnel-label(
prefix = "##",
position = true,
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -241,7 +242,8 @@
{{ use: partial-funnel-label(
prefix = "###",
position = true,
- formatter = false
+ formatter = false,
+ minMargin = true
) }}
### labelLine(Object)
@@ -365,6 +367,16 @@
通过[视觉引导线](~series-funnel.labelLine)连到相应的梯形。
{{ /if }}
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+用于控制标签之间的最小距离,当启用 [labelLayout](~series-funnel.labelLayout) 时可能会用到。
+{{ /if }}
+
{{ if: ${formatter} }}
#${prefix} formatter(string|Function)
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index 6a2a9c6..0813a64 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -214,7 +214,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## edgeLabel(Object)
@@ -440,7 +441,8 @@
该节点标签的样式。
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/zh/option/series/heatmap.md b/zh/option/series/heatmap.md
index 29fe944..f0fc39d 100644
--- a/zh/option/series/heatmap.md
+++ b/zh/option/series/heatmap.md
@@ -108,7 +108,8 @@
{{ use: partial-label(
prefix = "##",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -215,7 +216,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### itemStyle(Object)
diff --git a/zh/option/series/line.md b/zh/option/series/line.md
index a8a7bfc..78746d6 100644
--- a/zh/option/series/line.md
+++ b/zh/option/series/line.md
@@ -145,7 +145,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'top'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## endLabel(Object)
@@ -159,7 +160,8 @@
{{ use: partial-label(
prefix = "##",
formatter = true,
- noPosition = true
+ noPosition = true,
+ minMargin = true
) }}
### valueAnimation(boolean)
@@ -385,7 +387,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "top"
+ defaultPosition = "top",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/zh/option/series/lines.md b/zh/option/series/lines.md
index 796a02b..48a2aed 100644
--- a/zh/option/series/lines.md
+++ b/zh/option/series/lines.md
@@ -131,7 +131,8 @@
标签相关配置。在 [polyline](~series-lines.polyline) 设置为 `true` 时无效。
{{ use: lines-label(
- prefix = "##"
+ prefix = "##",
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -254,7 +255,8 @@
单个数据(单条线)的标签设置。在 [polyline](~series-lines.polyline) 设置为 `true` 时无效。
{{ use: lines-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
@@ -339,6 +341,16 @@
+ `'middle'` 线的中点。
+ `'end'` 线的结束点。
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+用于控制标签之间的最小距离,当启用 [labelLayout](~series-lines.labelLayout) 时可能会用到。
+{{ /if }}
+
#${prefix} formatter(string|Function)
{{ use: partial-2d-data-label-formatter() }}
diff --git a/zh/option/series/map.md b/zh/option/series/map.md
index bb9d9ab..0585e98 100644
--- a/zh/option/series/map.md
+++ b/zh/option/series/map.md
@@ -23,7 +23,8 @@
{{ use: geo-common(
prefix = '#',
- inMap = true
+ inMap = true,
+ labelMinMargin = true
) }}
## center(Array)
@@ -132,7 +133,8 @@
defaultPosition = "'bottom'",
formatter = true,
noAlign = true,
- noVerticalAlign = true
+ noVerticalAlign = true,
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/zh/option/series/pictorialBar.md b/zh/option/series/pictorialBar.md
index 48829ee..e95aae8 100644
--- a/zh/option/series/pictorialBar.md
+++ b/zh/option/series/pictorialBar.md
@@ -128,7 +128,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -259,7 +260,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md
index dfd3159..a8c7079 100644
--- a/zh/option/series/pie.md
+++ b/zh/option/series/pie.md
@@ -188,7 +188,8 @@
{{ use: partial-pie-label(
prefix = "##",
position = true,
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
### alignTo(string) = 'none'
@@ -394,7 +395,8 @@
{{ use: partial-pie-label(
prefix = "###",
position = true,
- formatter = false
+ formatter = false,
+ minMargin = true
) }}
### labelLine(Object)
@@ -545,6 +547,16 @@
+ 如果为 `'tangential'`,则为切向排布。(从 `v5.2.0` 开始支持)
+ 如果为 `number` ,旋转指定角度,从 -90 度到 90 度。正值是逆时针。
+{{ if: ${minMargin} }}
+#${prefix} minMargin(number)
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+用于控制标签之间的最小距离,当启用 [labelLayout](~series-pie.labelLayout) 时可能会用到。
+{{ /if }}
+
{{ use: partial-text-style(
prefix = ${prefix},
noAlign = true,
diff --git a/zh/option/series/radar.md b/zh/option/series/radar.md
index 79b87f0..d79062b 100644
--- a/zh/option/series/radar.md
+++ b/zh/option/series/radar.md
@@ -78,7 +78,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'top'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -216,7 +217,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "top"
+ defaultPosition = "top",
+ minMargin = true
) }}
### itemStyle(Object)
diff --git a/zh/option/series/sankey.md b/zh/option/series/sankey.md
index 1590201..1996738 100644
--- a/zh/option/series/sankey.md
+++ b/zh/option/series/sankey.md
@@ -187,7 +187,8 @@
prefix = "##",
defaultShowLabel = true,
defaultPosition = "'right'",
- formatter1d = true
+ formatter1d = true,
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -313,7 +314,8 @@
该节点标签的样式。
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/zh/option/series/scatter.md b/zh/option/series/scatter.md
index 029a61c..38947c2 100644
--- a/zh/option/series/scatter.md
+++ b/zh/option/series/scatter.md
@@ -119,7 +119,8 @@
{{ use: partial-label(
prefix = "##",
defaultPosition = "'inside'",
- formatter = true
+ formatter = true,
+ minMargin = true
) }}
## labelLine(Object)
@@ -257,7 +258,8 @@
{{ use: partial-label(
prefix = "###",
- defaultPosition = "inside"
+ defaultPosition = "inside",
+ minMargin = true
) }}
### labelLine(Object)
diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md
index 405ce84..5b0958b 100644
--- a/zh/option/series/sunburst.md
+++ b/zh/option/series/sunburst.md
@@ -40,7 +40,8 @@
},
defaultShowLabel = "true",
noRotate = true,
- noAlign = true
+ noAlign = true,
+ minMargin = ${minMargin}
) }}
@@ -56,7 +57,8 @@
{{ use: partial-label-desc() }}
{{ use: partial-sunburst-label-helper(
- prefix = ${prefix} + '#'
+ prefix = ${prefix} + '#',
+ minMargin = ${state} === 'normal'
) }}
#${prefix} labelLine(Object)
diff --git a/zh/option/series/themeRiver.md b/zh/option/series/themeRiver.md
index 67fa0f8..c31e38a 100644
--- a/zh/option/series/themeRiver.md
+++ b/zh/option/series/themeRiver.md
@@ -141,7 +141,8 @@
noAlign = true,
noVerticalAlign = true,
defaultColor = "'#000'",
- defaultFontSize = 11
+ defaultFontSize = 11,
+ minMargin = true
) }}
## labelLine(Object)
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index d630f59..1c964b0 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -184,7 +184,8 @@
desc: '当前节点的祖先节点(包括自身)',
type: 'Array'
}
- }
+ },
+ minMargin = true
) }}
## labelLayout(Object|Function)
@@ -391,7 +392,8 @@
该节点的标签。
{{ use: partial-label(
- prefix = "###"
+ prefix = "###",
+ minMargin = true
) }}
### emphasis(Object)
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index 03c3905..09ff574 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -703,7 +703,8 @@
desc: '当前节点的祖先节点(包括自身)',
type: 'Array'
}
- }
+ },
+ minMargin = true
) }}
#${prefix} upperLabel(Object)