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 2022/06/14 01:36:29 UTC

[echarts-doc] branch dev updated: fix type of `center` option

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

wangzx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0158ae7f fix type of `center` option
0158ae7f is described below

commit 0158ae7f60caeca0b94a8077253743c55d365707
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Jun 14 09:35:38 2022 +0800

    fix type of `center` option
---
 en/option/series/graph.md | 2 +-
 en/option/series/map.md   | 2 +-
 en/option/series/tree.md  | 2 +-
 zh/option/series/graph.md | 2 +-
 zh/option/series/map.md   | 2 +-
 zh/option/series/tree.md  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index e6dc7886..0a539e1b 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -31,7 +31,7 @@ Graph is a diagram to represent [nodes](~series-graph.nodes) and the [links](~se
     calendar = true
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 <ExampleUIControlVector default="0,0" dims="x,y" />
 
diff --git a/en/option/series/map.md b/en/option/series/map.md
index c9e461ec..43c97f45 100644
--- a/en/option/series/map.md
+++ b/en/option/series/map.md
@@ -24,7 +24,7 @@ Series of same [map type](~series-map.map) will show in one map. At this point,
     inMap = true
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 Center of current view-port. It can be an arrary containing two `number`s in pixels or `string`s in percentage relative to the container width/height.
 
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 8d9ce537..e32e748e 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -35,7 +35,7 @@ The tree diagram is mainly used to visualize the tree data structure, which is a
     defaultHeight = 'null'
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 Center of current view-port. It can be an arrary containing two `number`s in pixels or `string`s in percentage relative to the container width/height.
 
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index 769e9154..c31cd3e4 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -40,7 +40,7 @@ option.series[0].data.forEach(function (item) {
     calendar = true
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 <ExampleUIControlVector default="0,0" dims="x,y" />
 
diff --git a/zh/option/series/map.md b/zh/option/series/map.md
index a57b2b40..07d10805 100644
--- a/zh/option/series/map.md
+++ b/zh/option/series/map.md
@@ -26,7 +26,7 @@
     inMap = true
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
 
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index 0df66806..db453f6c 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -78,7 +78,7 @@ const option = {
     defaultHeight = 'null'
 ) }}
 
-## center(Array.<number|string>)
+## center(Array)
 
 当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
 


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