You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2022/06/13 10:51:47 UTC

[echarts-doc] branch cemter-version updated: fix: add version for `center`

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

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


The following commit(s) were added to refs/heads/cemter-version by this push:
     new 50d6c748 fix: add version for `center`
50d6c748 is described below

commit 50d6c7486475a004278f13852b2b41a5942c87f3
Author: susiwen8 <su...@gmail.com>
AuthorDate: Mon Jun 13 18:51:44 2022 +0800

    fix: add version for `center`
---
 en/option/series/graph.md | 1 +
 en/option/series/map.md   | 1 +
 en/option/series/tree.md  | 1 +
 zh/option/series/graph.md | 1 +
 zh/option/series/map.md   | 1 +
 zh/option/series/tree.md  | 1 +
 6 files changed, 6 insertions(+)

diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index e6dc7886..354eb43b 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -36,6 +36,7 @@ Graph is a diagram to represent [nodes](~series-graph.nodes) and the [links](~se
 <ExampleUIControlVector default="0,0" dims="x,y" />
 
 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.
+`string` support from version `5.3.3`.
 
 Example:
 ```ts
diff --git a/en/option/series/map.md b/en/option/series/map.md
index c9e461ec..cc45dca2 100644
--- a/en/option/series/map.md
+++ b/en/option/series/map.md
@@ -27,6 +27,7 @@ Series of same [map type](~series-map.map) will show in one map. At this point,
 ## center(Array.<number|string>)
 
 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.
+`string` support from version `5.3.3`.
 
 Example:
 ```ts
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 5fe654d8..bc9d6069 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -38,6 +38,7 @@ The tree diagram is mainly used to visualize the tree data structure, which is a
 ## center(Array.<number|string>)
 
 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.
+`string` support from version `5.3.3`.
 
 Example:
 ```ts
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index 769e9154..6a8f620a 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -45,6 +45,7 @@ option.series[0].data.forEach(function (item) {
 <ExampleUIControlVector default="0,0" dims="x,y" />
 
 当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
+从 `5.3.3` 版本开始支持 `string` 类型.
 
 例如:
 ```ts
diff --git a/zh/option/series/map.md b/zh/option/series/map.md
index a57b2b40..301dd03c 100644
--- a/zh/option/series/map.md
+++ b/zh/option/series/map.md
@@ -29,6 +29,7 @@
 ## center(Array.<number|string>)
 
 当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
+从 `5.3.3` 版本开始支持 `string` 类型.
 
 例如:
 ```ts
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index e32129e3..64d4df75 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -81,6 +81,7 @@ const option = {
 ## center(Array.<number|string>)
 
 当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
+从 `5.3.3` 版本开始支持 `string` 类型.
 
 例如:
 ```ts


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