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 2023/11/29 14:53:08 UTC
(echarts-doc) branch master updated: fix typo series-treemp -> series-treemap
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 0ecfd3e2 fix typo series-treemp -> series-treemap
new d26c81d2 Merge pull request #378 from abdulhdr1/master
0ecfd3e2 is described below
commit 0ecfd3e2786310e4384b42ee10b1ea4d6e58fe22
Author: Abdul <ab...@gmail.com>
AuthorDate: Tue Nov 28 11:02:52 2023 -0300
fix typo series-treemp -> series-treemap
---
en/option/series/treemap.md | 4 ++--
zh/option/series/treemap.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 1be55495..9e5b1f80 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -316,7 +316,7 @@ the the data format of [series-treemap.data](~series-treemap.data) is a forest.
{
value: 2323, // The value of this node, indicating the area size.
// it could also be an array, such as [2323, 43, 55], in which the first item of array indicates the area size.
- // The other items of the array can be used for extra visual mapping. See details in series-treemp.levels.
+ // The other items of the array can be used for extra visual mapping. See details in series-treemap.levels.
id: 'someid-1', // id is not mandatory.
// But if using API, id is used to locate node.
name: 'description of this node', // show the description text in rectangle.
@@ -358,7 +358,7 @@ The value of this node, indicating the area size.
It could also be an array, such as [2323, 43, 55], in which the first item of array indicates the area size.
-The other items of the array can be used for extra visual mapping. See details in series-treemp.levels.
+The other items of the array can be used for extra visual mapping. See details in series-treemap.levels.
### id(string)
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index 932482d3..03c3905f 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -467,7 +467,7 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。
{
value: 2323, // value字段的值,对应到面积大小。
// 也可以是数组,如 [2323, 43, 55],则数组第一项对应到面积大小。
- // 数组其他项可以用于额外的视觉映射,详情参见 series-treemp.levels。
+ // 数组其他项可以用于额外的视觉映射,详情参见 series-treemap.levels。
id: 'someid-1', // id 不是必须设置的。
// 但是如果想使用 API 来改变某个节点,需要用 id 来定位。
name: 'description of this node', // 显示在矩形中的描述文字。
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org