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/07/15 04:00:09 UTC
[incubator-echarts-doc] branch master updated: fix data in
sunburst/treemap example
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new cb3235c fix data in sunburst/treemap example
cb3235c is described below
commit cb3235c3e78e14cd7faf8d1a33b8bfc6b5183d11
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Jul 15 11:59:52 2020 +0800
fix data in sunburst/treemap example
---
zh/option/series/pictorialBar.md | 2 ++
zh/option/series/sunburst.md | 24 ++++++++++--------------
zh/option/series/treemap.md | 24 ++++++++++--------------
3 files changed, 22 insertions(+), 28 deletions(-)
diff --git a/zh/option/series/pictorialBar.md b/zh/option/series/pictorialBar.md
index 97972b9..0bb309c 100644
--- a/zh/option/series/pictorialBar.md
+++ b/zh/option/series/pictorialBar.md
@@ -249,6 +249,8 @@ option = {
#${prefix} symbol(string) = 'circle'
+<ExampleUIControlIcon >
+
图形类型。
{{ use: partial-icon }}
diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md
index 681b4b7..388b40c 100644
--- a/zh/option/series/sunburst.md
+++ b/zh/option/series/sunburst.md
@@ -135,7 +135,7 @@ ECharts 中,通常使用 *emphasis* 表示鼠标移动到图形上后的高亮
const data = [{
name: 'Food',
children: [{
- value: 5,
+ value: 3,
name: 'Fruit',
children: [{
value: 1,
@@ -146,15 +146,13 @@ const data = [{
children: [{
name: 'Seville Orange',
value: 1
- }]
- }, {
- children: [{
+ }, {
name: 'Blood Orange',
value: 1
}]
}]
}, {
- value: 10,
+ value: 9,
name: 'Meat',
children: [{
value: 6,
@@ -180,17 +178,15 @@ const data = [{
value: 1
}]
}, {
- children: [{
- name: 'Breast',
- value: 1
- }]
+ name: 'Breast',
+ value: 1
}]
}]
}, {
- value: 9,
+ value: 6,
name: 'Drinks',
children: [{
- value: 4,
+ value: 3,
name: 'Wine',
children: [{
name: 'USA',
@@ -212,12 +208,12 @@ const data = [{
value: 1
}, {
name: 'Orange Juice',
- value: 1
+ value: 2
}]
}]
}]
}, {
- value: 7,
+ value: 6,
name: 'Fashion',
children: [{
name: 'Clothing',
@@ -250,7 +246,7 @@ const data = [{
name: 'Computers',
children: [{
name: 'Components',
- value: 6,
+ value: 4,
children: [{
name: 'Barebones',
value: 1
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index bdc27e8..a13b89d 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -52,7 +52,7 @@ treemap 首先是把数值映射到『面积』这种视觉元素上。
const data = [{
name: 'Food',
children: [{
- value: 5,
+ value: 3,
name: 'Fruit',
children: [{
value: 1,
@@ -63,15 +63,13 @@ const data = [{
children: [{
name: 'Seville Orange',
value: 1
- }]
- }, {
- children: [{
+ }, {
name: 'Blood Orange',
value: 1
}]
}]
}, {
- value: 10,
+ value: 9,
name: 'Meat',
children: [{
value: 6,
@@ -97,17 +95,15 @@ const data = [{
value: 1
}]
}, {
- children: [{
- name: 'Breast',
- value: 1
- }]
+ name: 'Breast',
+ value: 1
}]
}]
}, {
- value: 9,
+ value: 6,
name: 'Drinks',
children: [{
- value: 4,
+ value: 3,
name: 'Wine',
children: [{
name: 'USA',
@@ -129,12 +125,12 @@ const data = [{
value: 1
}, {
name: 'Orange Juice',
- value: 1
+ value: 2
}]
}]
}]
}, {
- value: 7,
+ value: 6,
name: 'Fashion',
children: [{
name: 'Clothing',
@@ -167,7 +163,7 @@ const data = [{
name: 'Computers',
children: [{
name: 'Components',
- value: 6,
+ value: 4,
children: [{
name: 'Barebones',
value: 1
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org