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 08877664 fix(treemap): fix breadcrumb doc. (apache/echarts#18872)
08877664 is described below

commit 088776645a8488c11dfaa79ca5137250e218b6e9
Author: plainheart <[email protected]>
AuthorDate: Tue Jul 11 00:52:12 2023 +0800

    fix(treemap): fix breadcrumb doc. (apache/echarts#18872)
---
 en/option/partial/rect-layout.md | 8 ++++----
 en/option/series/treemap.md      | 6 +++---
 zh/option/partial/rect-layout.md | 4 ++--
 zh/option/series/treemap.md      | 4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/en/option/partial/rect-layout.md b/en/option/partial/rect-layout.md
index e0a45601..3f9e0728 100644
--- a/en/option/partial/rect-layout.md
+++ b/en/option/partial/rect-layout.md
@@ -13,7 +13,7 @@
 
 Distance between ${componentName} component and the left side of the container.
 
-`left` value can be instant pixel value like `20`; it can also be a percentage 
value relative to container width like `'20%'`; and it can also be `'left'`, 
`'center'`, or `'right'`.
+`left` can be a pixel value like `20`; it can also be a percentage value 
relative to container width like `'20%'`; and it can also be `'left'`, 
`'center'`, or `'right'`.
 
 If the `left` value is set to be `'left'`, `'center'`, or `'right'`, then the 
component will be aligned automatically based on position.
 
@@ -21,7 +21,7 @@ If the `left` value is set to be `'left'`, `'center'`, or 
`'right'`, then the co
 
 Distance between ${componentName} component and the top side of the container.
 
-`top` value can be instant pixel value like `20`; it can also be a percentage 
value relative to container width like `'20%'`; and it can also be `'top'`, 
`'middle'`, or `'bottom'`.
+`top` can be a pixel value like `20`; it can also be a percentage value 
relative to container width like `'20%'`; and it can also be `'top'`, 
`'middle'`, or `'bottom'`.
 
 If the `top` value is set to be `'top'`, `'middle'`, or `'bottom'`, then the 
component will be aligned automatically based on position.
 
@@ -29,7 +29,7 @@ If the `top` value is set to be `'top'`, `'middle'`, or 
`'bottom'`, then the com
 
 Distance between ${componentName} component and the right side of the 
container.
 
-`right` value can be instant pixel value like `20`; it can also be a 
percentage value relative to container width like `'20%'`.
+`right` can be a pixel value like `20`; it can also be a percentage value 
relative to container width like `'20%'`.
 
 {{ if: !${defaultRight} }}Adaptive by default.{{ /if }}
 
@@ -37,7 +37,7 @@ Distance between ${componentName} component and the right 
side of the container.
 
 Distance between ${componentName} component and the bottom side of the 
container.
 
-`bottom` value can be instant pixel value like `20`; it can also be a 
percentage value relative to container width like `'20%'`.
+`bottom` can be a pixel value like `20`; it can also be a percentage value 
relative to container width like `'20%'`.
 
 {{ if: !${defaultBottom} }}Adaptive by default.{{ /if }}
 
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 9e66b8cf..c65b6fd7 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -117,7 +117,7 @@ The treemap will be auto zoomed to a appropriate ratio when 
a node is clicked (w
 
 ## breadcrumb(Object)
 
-breadcrumb, showing the path of the current node.
+To show the path of the current node.
 
 ### show(boolean) = true
 
@@ -126,11 +126,11 @@ breadcrumb, showing the path of the current node.
 Whether to show the breadcrumb.
 
 {{ use: partial-rect-layout(
-    componentName = "asdf ",
+    componentName = "breadcrumb ",
     prefix = "##",
     noZ = true,
     defaultLeft = "'center'",
-    defaultBottom = 0
+    defaultTop = "'bottom'"
 ) }}
 
 ### height(number) = 22
diff --git a/zh/option/partial/rect-layout.md b/zh/option/partial/rect-layout.md
index a8fb1b6d..d62c5dd6 100644
--- a/zh/option/partial/rect-layout.md
+++ b/zh/option/partial/rect-layout.md
@@ -17,7 +17,7 @@ ${componentName}组件离容器左侧的距离。
 
 `left` 的值可以是像 `20` 这样的具体像素值,可以是像 `'20%'` 这样相对于容器高宽的百分比,也可以是 `'left'`, 
`'center'`, `'right'`。
 
-如果 `left` 的值为`'left'`, `'center'`, `'right'`,组件会根据相应的位置自动对齐。
+如果 `left` 的值为 `'left'`, `'center'`, `'right'`,组件会根据相应的位置自动对齐。
 
 #${prefix|default("#")} top(string|number) = ${defaultTop|default("'auto'")}
 
@@ -27,7 +27,7 @@ ${componentName}组件离容器上侧的距离。
 
 `top` 的值可以是像 `20` 这样的具体像素值,可以是像 `'20%'` 这样相对于容器高宽的百分比,也可以是 `'top'`, 
`'middle'`, `'bottom'`。
 
-如果 `top` 的值为`'top'`, `'middle'`, `'bottom'`,组件会根据相应的位置自动对齐。
+如果 `top` 的值为 `'top'`, `'middle'`, `'bottom'`,组件会根据相应的位置自动对齐。
 
 #${prefix|default("#")} right(string|number) = 
${defaultRight|default("'auto'")}
 
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index 42c62903..932482d3 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -283,11 +283,11 @@ const option = {
 是否显示面包屑。
 
 {{ use: partial-rect-layout(
-    componentName = "asdf ",
+    componentName = "面包屑",
     prefix = "##",
     noZ = true,
     defaultLeft = "'center'",
-    defaultBottom = 0
+    defaultTop = "'bottom'"
 ) }}
 
 ### height(number) = 22


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

Reply via email to