You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/09/08 11:45:16 UTC
[incubator-echarts-doc] branch next updated: tweak treemap doc. add
borderRadius
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 335bc26 tweak treemap doc. add borderRadius
335bc26 is described below
commit 335bc26acef85e24d06d63b2e3c385b5e5fb5be1
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Sep 8 19:45:04 2020 +0800
tweak treemap doc. add borderRadius
---
zh/option/series/treemap.md | 186 +++++++++++++++++++++++---------------------
1 file changed, 96 insertions(+), 90 deletions(-)
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index fe27c75..50b9cb4 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -264,6 +264,96 @@ const option = {
点击某个节点,会自动放大那个节点到合适的比例(节点占可视区域的面积比例),这个配置项就是这个比例。
+{{ use: partial-treemap-level-props(
+ prefix = "#"
+) }}
+
+{{ use: partial-selected-mode(
+ version = '5.0.0'
+) }}
+
+## breadcrumb(Object)
+
+面包屑,能够显示当前节点的路径。
+
+### show(boolean) = true
+
+<ExampleUIControlBoolean default="true" />
+
+是否显示面包屑。
+
+{{ use: partial-rect-layout(
+ componentName = "asdf ",
+ prefix = "##",
+ noZ = true,
+ defaultLeft = "'center'",
+ defaultBottom = 0
+) }}
+
+### height(number) = 22
+
+<ExampleUIControlNumber min="0" default="22" step="1" />
+
+面包屑的高度。
+
+### emptyItemWidth(number) = 25
+
+<ExampleUIControlNumber min="0" default="25" step="1" />
+
+当面包屑没有内容时候,设个最小宽度。
+
+### itemStyle(Object)
+
+{{ use: partial-item-style-desc() }}
+
+{{ use: partial-item-style(
+ prefix = "###",
+ name = "boxplot",
+ defaultColor = "rgba(0,0,0,0.7)",
+ defaultBorderColor = "rgba(255,255,255,0.7)",
+ defaultBorderWidth = 1,
+ defaultShadowColor = 'rgba(150,150,150,1)',
+ defaultShadowBlur = 3,
+ defaultShadowOffsetX = 0,
+ defaultShadowOffsetY = 0
+) }}
+
+#### textStyle(Object)
+
+{{ use: partial-text-style(
+ prefix = "####",
+ defaultColor = "#fff"
+) }}
+
+### emphasis(Object)
+
+#### itemStyle(Object)
+
+{{ use: partial-item-style(
+ prefix = "####",
+ name = "boxplot",
+ defaultColor = "rgba(0,0,0,0.7)",
+ defaultBorderColor = "rgba(255,255,255,0.7)",
+ defaultBorderWidth = 1,
+ defaultShadowColor = 'rgba(150,150,150,1)',
+ defaultShadowBlur = 3,
+ defaultShadowOffsetX = 0,
+ defaultShadowOffsetY = 0
+) }}
+
+##### textStyle(Object)
+
+{{ use: partial-text-style(
+ prefix = "#####",
+ defaultColor = "#fff"
+) }}
+
+## labelLayout(Object|Function)
+
+{{ use: partial-label-layout(
+ prefix = "##"
+) }}
+
## levels(Array)
**多层配置**
@@ -357,96 +447,6 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。
prefix = "##"
) }}
-{{ use: partial-treemap-level-props(
- prefix = "#"
-) }}
-
-{{ use: partial-selected-mode(
- version = '5.0.0'
-) }}
-
-## breadcrumb(Object)
-
-面包屑,能够显示当前节点的路径。
-
-### show(boolean) = true
-
-<ExampleUIControlBoolean default="true" />
-
-是否显示面包屑。
-
-{{ use: partial-rect-layout(
- componentName = "asdf ",
- prefix = "##",
- noZ = true,
- defaultLeft = "'center'",
- defaultBottom = 0
-) }}
-
-### height(number) = 22
-
-<ExampleUIControlNumber min="0" default="22" step="1" />
-
-面包屑的高度。
-
-### emptyItemWidth(number) = 25
-
-<ExampleUIControlNumber min="0" default="25" step="1" />
-
-当面包屑没有内容时候,设个最小宽度。
-
-### itemStyle(Object)
-
-{{ use: partial-item-style-desc() }}
-
-{{ use: partial-item-style(
- prefix = "###",
- name = "boxplot",
- defaultColor = "rgba(0,0,0,0.7)",
- defaultBorderColor = "rgba(255,255,255,0.7)",
- defaultBorderWidth = 1,
- defaultShadowColor = 'rgba(150,150,150,1)',
- defaultShadowBlur = 3,
- defaultShadowOffsetX = 0,
- defaultShadowOffsetY = 0
-) }}
-
-#### textStyle(Object)
-
-{{ use: partial-text-style(
- prefix = "####",
- defaultColor = "#fff"
-) }}
-
-### emphasis(Object)
-
-#### itemStyle(Object)
-
-{{ use: partial-item-style(
- prefix = "####",
- name = "boxplot",
- defaultColor = "rgba(0,0,0,0.7)",
- defaultBorderColor = "rgba(255,255,255,0.7)",
- defaultBorderWidth = 1,
- defaultShadowColor = 'rgba(150,150,150,1)',
- defaultShadowBlur = 3,
- defaultShadowOffsetX = 0,
- defaultShadowOffsetY = 0
-) }}
-
-##### textStyle(Object)
-
-{{ use: partial-text-style(
- prefix = "#####",
- defaultColor = "#fff"
-) }}
-
-## labelLayout(Object|Function)
-
-{{ use: partial-label-layout(
- prefix = "##"
-) }}
-
## data(Array)
[series-treemap.data](~series-treemap.data) 的数据格式是树状的,例如:
@@ -796,6 +796,12 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。
矩形颜色的饱和度。取值范围是 0 ~ 1 之间的浮点数。
+#${prefix} borderRadius(number|Array) = 0
+
+<ExampleUIControlVector min="0" dims="LT,RT, RB, LB" clean="true" />
+
+矩形圆角。
+
#${prefix} borderWidth(number) = 0
<ExampleUIControlNumber step="0.5" min="0" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org