You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2020/10/13 10:14:33 UTC

[incubator-echarts-doc] branch next updated: fix: add missing option `lineStyle` to tree series.(apache/incubator-echarts#13420)

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

wangzx 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 37eba53  fix: add missing option `lineStyle` to tree series.(apache/incubator-echarts#13420)
37eba53 is described below

commit 37eba531b202b65b73743f4552c251b1ce539c1f
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Oct 13 18:14:09 2020 +0800

    fix: add missing option `lineStyle` to tree series.(apache/incubator-echarts#13420)
---
 en/option/partial/item-style.md |  2 +-
 en/option/series/tree.md        | 22 ++++++++++++++++++++--
 zh/option/partial/item-style.md |  2 +-
 zh/option/series/tree.md        | 25 +++++++++++++++++++++++--
 4 files changed, 45 insertions(+), 6 deletions(-)

diff --git a/en/option/partial/item-style.md b/en/option/partial/item-style.md
index 0e727ab..8d737d7 100644
--- a/en/option/partial/item-style.md
+++ b/en/option/partial/item-style.md
@@ -23,7 +23,7 @@ Supports callback functions, in the form of:
 Input parameters are `seriesIndex`, `dataIndex`, `data`, `value`, and etc. of data item.
 {{ /if }}
 
-#${prefix} borderColor(Color) = ${defaultBorderColor|default('"#000"')}
+#${prefix} borderColor(Color) = ${defaultBorderColor|default("'#000'")}
 
 <ExampleUIControlColor />
 
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 8f7072d..1d981b5 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -105,7 +105,7 @@ The initial level (depth) of the tree. The root node is the 0th layer, then the
 
 ## itemStyle(Object)
 
-The style of each node in the tree, where [itemStyle.color] (~ series-tree.itemStyle.color) represents the fill color of the node, to distinguish the state of the subtree corresponding to `collapsing` or `expansion`.
+The style of each node in the tree, where [itemStyle.color](~series-tree.itemStyle.color) represents the fill color of the node, to distinguish the state of the subtree corresponding to `collapsing` or `expansion`.
 
 {{ use: partial-item-style(
     prefix = "##",
@@ -265,6 +265,14 @@ The style of the node.
     useColorPalatte = true
 ) }}
 
+### lineStyle(Object)
+
+Defines the style of the tree edge.
+
+{{ use: partial-tree-line-style(
+    prefix = "###"
+) }}
+
 ### label(Object)
 
 The label of the node.
@@ -311,7 +319,7 @@ Select state of a single node.
 
 {{ target: partial-tree-line-style }}
 
-#${prefix} color(Color) = "'#ccc'"
+#${prefix} color(Color) = '#ccc'
 
 <ExampleUIControlColor default="#ccc" />
 
@@ -343,6 +351,14 @@ The curvature of the tree edge.
     prefix = "#" + ${prefix}
 ) }}
 
+#${prefix} lineStyle(Object)
+
+Defines the style of the tree edge.
+
+{{ use: partial-tree-line-style(
+    prefix = "#" + ${prefix}
+) }}
+
 #${prefix} label(Object)
 
 {{ use: partial-label(
@@ -356,6 +372,8 @@ The curvature of the tree edge.
 
 #${prefix} lineStyle(Object)
 
+Defines the style of the tree edge.
+
 {{ use: partial-tree-line-style(
     prefix = "#" + ${prefix}
 ) }}
diff --git a/zh/option/partial/item-style.md b/zh/option/partial/item-style.md
index 2fa7727..8060730 100644
--- a/zh/option/partial/item-style.md
+++ b/zh/option/partial/item-style.md
@@ -23,7 +23,7 @@ ${name}图形的颜色。{{ if: ${useColorPalatte} }} 默认从全局调色盘 [
 传入的是数据项 `seriesIndex`, `dataIndex`, `data`, `value` 等各个参数。
 {{ /if }}
 
-#${prefix} borderColor(Color) = ${defaultBorderColor|default('"#000"')}
+#${prefix} borderColor(Color) = ${defaultBorderColor|default("'#000'")}
 
 <ExampleUIControlColor />
 
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index 75e80e9..0523a40 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -174,7 +174,7 @@ const option = {
 
 ## lineStyle(Object)
 
-定义了树图边的样式。
+定义树图边的样式。
 
 {{ use: partial-tree-line-style(
     prefix = "##"
@@ -307,6 +307,15 @@ const option = {
     useColorPalatte = true
 ) }}
 
+### lineStyle(Object)
+
+该节点对应的边的样式。
+
+{{ use: partial-tree-line-style(
+    prefix = "###"
+) }}
+
+
 ### label(Object)
 
 该节点的标签。
@@ -353,7 +362,7 @@ const option = {
 
 {{ target: partial-tree-line-style }}
 
-#${prefix} color(Color) = "'#ccc'"
+#${prefix} color(Color) = '#ccc'
 
 <ExampleUIControlColor default="#ccc" />
 
@@ -381,10 +390,20 @@ const option = {
 
 #${prefix} itemStyle(Object)
 
+该节点的样式。
+
 {{ use: partial-item-style(
     prefix = "#" + ${prefix}
 ) }}
 
+#${prefix} lineStyle(Object)
+
+定义树图边的样式。
+
+{{ use: partial-tree-line-style(
+    prefix = "#" + ${prefix}
+) }}
+
 #${prefix} label(Object)
 
 {{ use: partial-label(
@@ -398,6 +417,8 @@ const option = {
 
 #${prefix} lineStyle(Object)
 
+定义树图边的样式。
+
 {{ use: partial-tree-line-style(
     prefix = "#" + ${prefix}
 ) }}


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