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

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/next by this push:
     new a93081e  add labelLine on more series
a93081e is described below

commit a93081e3b83ecfb542b2f3cf3db6658c76ce4b3a
Author: pissang <[email protected]>
AuthorDate: Fri Oct 30 18:50:39 2020 +0800

    add labelLine on more series
---
 zh/option/series/sunburst.md   | 24 ++++++++++++++++++++----
 zh/option/series/themeRiver.md | 21 +++++++++++++++++++++
 zh/option/series/treemap.md    | 23 +++++++++++++++++++++++
 3 files changed, 64 insertions(+), 4 deletions(-)

diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md
index 2af9b0d..a4392bc 100644
--- a/zh/option/series/sunburst.md
+++ b/zh/option/series/sunburst.md
@@ -62,6 +62,18 @@
     prefix = ${prefix} + '#'
 ) }}
 
+#${prefix} labelLine(Object)
+
+{{ use: partial-label-line-desc() }}
+
+{{ use: partial-label-line(
+    prefix = '#' + ${prefix},
+    length2 = ${isNormal},
+    minTurnAngle = ${isNormal},
+    showAbove = ${isNormal},
+    smooth = ${isNormal}
+) }}
+
 
 
 {{ target: partial-sunburst-itemStyle-props }}
@@ -87,11 +99,13 @@
 {{ target: partial-sunburst-state }}
 
 {{ use: partial-sunburst-label-props(
-    prefix = ${prefix}
+    prefix = ${prefix},
+    isNormal = ${isNormal}
 ) }}
 
 {{ use: partial-sunburst-itemStyle-props(
-    prefix = ${prefix}
+    prefix = ${prefix},
+    isNormal = ${isNormal}
 ) }}
 
 
@@ -336,7 +350,8 @@ const option = {
 意义同 HTML `<a>` 标签中的 `target`,参见 
[series-sunburst.data.link](~series-sunburst.data.link)。可选值为:`'blank'` 或 
`'self'`。
 
 {{ use: partial-sunburst-label-props(
-    prefix = "##"
+    prefix = "##",
+    isNormal = true
 ) }}
 
 ## labelLayout(Object|Function)
@@ -406,7 +421,8 @@ function(nodeA, nodeB) {
 如果数据没有 `name`,是否需要渲染文字。
 
 {{ use: partial-sunburst-label-props(
-    prefix = "#"
+    prefix = "#",
+    isNormal = true
 ) }}
 
 {{ use: partial-sunburst-itemStyle-props(
diff --git a/zh/option/series/themeRiver.md b/zh/option/series/themeRiver.md
index 67817ab..e67ed72 100644
--- a/zh/option/series/themeRiver.md
+++ b/zh/option/series/themeRiver.md
@@ -140,6 +140,18 @@ const option = {
     defaultFontSize = 11
 ) }}
 
+## labelLine(Object)
+
+{{ use: partial-label-line-desc() }}
+
+{{ use: partial-label-line(
+    prefix = '##',
+    length2 = true,
+    minTurnAngle = true,
+    showAbove = true,
+    smooth = true
+) }}
+
 ## labelLayout(Object|Function)
 
 {{ use: partial-label-layout(
@@ -236,6 +248,15 @@ data: [
     defaultFontSize = 11
 ) }}
 
+
+#${prefix} labelLine(Object)
+
+{{ use: partial-label-line-desc() }}
+
+{{ use: partial-label-line(
+    prefix = '#' + ${prefix}
+) }}
+
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index e1b2bd5..be12361 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -348,6 +348,20 @@ const option = {
     defaultColor = "#fff"
 ) }}
 
+
+## labelLine(Object)
+
+{{ use: partial-label-line-desc() }}
+
+{{ use: partial-label-line(
+    prefix = '##',
+    length2 = true,
+    minTurnAngle = true,
+    showAbove = true,
+    smooth = true
+) }}
+
+
 ## labelLayout(Object|Function)
 
 {{ use: partial-label-layout(
@@ -857,6 +871,7 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。
 
 {{ target: treemap-state }}
 
+
 #${prefix} label(Object)
 
 {{ use: partial-label(
@@ -865,6 +880,14 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。
     formatter = true
 ) }}
 
+#${prefix} labelLine(Object)
+
+{{ use: partial-label-line-desc() }}
+
+{{ use: partial-label-line(
+    prefix = ${prefix} + "#"
+) }}
+
 #${prefix} upperLabel(Object)
 
 {{ use: partial-label(


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to