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 b4e3fb3  tweak areaStyle document. add version hint & example control.
b4e3fb3 is described below

commit b4e3fb34c408b483bb14696f67c0e63afa11af14
Author: plainheart <[email protected]>
AuthorDate: Sat Mar 26 13:22:24 2022 +0800

    tweak areaStyle document. add version hint & example control.
---
 en/option/partial/area-style.md | 14 ++++++++------
 zh/option/partial/area-style.md | 12 +++++++-----
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/en/option/partial/area-style.md b/en/option/partial/area-style.md
index f924fcd..393278c 100644
--- a/en/option/partial/area-style.md
+++ b/en/option/partial/area-style.md
@@ -20,16 +20,18 @@ Input parameters are `seriesIndex`, `dataIndex`, `data`, 
`value`, and etc. of da
 {{ if: ${hasOrigin} }}
 #${prefix|default('##')} origin(string|number) = 'auto'
 
+<ExampleUIControlEnum options="auto,start,end" />
+
 Origin position of area.
 
-By default, the area between axis line and data will be the area to be filled. 
This config enables you to fill the area from data to the max or min of the 
axis data or a specified value.
+By default, the area between axis line and data will be filled. This config 
enables you to fill the area from data to the max or min of the axis data or a 
specified value.
 
-Valid values include: `'auto'` (default), `'start'`, `'end'`, `number`.
+Valid values:
 
-- `'auto'` to fill between axis line and data;
-- `'start'` to fill between min axis value (when not `inverse`) and data;
-- `'end'` to fill between max axis value (when not `inverse`) and data;
-- `number` to fill between specified value and data.
+- `'auto'` to fill between axis line and data (**Default**)
+- `'start'` to fill between min axis value (when not 
[`inverse`](~xAxis.inverse)) and data
+- `'end'` to fill between max axis value (when not 
[`inverse`](~xAxis.inverse)) and data
+- `number` to fill between specified value and data (Since `v5.3.2`)
 {{ /if }}
 
 {{ use: partial-style-shadow-opacity(
diff --git a/zh/option/partial/area-style.md b/zh/option/partial/area-style.md
index 8973054..eb0be35 100644
--- a/zh/option/partial/area-style.md
+++ b/zh/option/partial/area-style.md
@@ -20,16 +20,18 @@
 {{ if: ${hasOrigin} }}
 #${prefix|default('##')} origin(string|number) = 'auto'
 
+<ExampleUIControlEnum options="auto,start,end" />
+
 图形区域的起始位置。
 
 
默认情况下,图形会从坐标轴轴线到数据间进行填充。如果需要填充的区域是坐标轴最大值到数据间,或者坐标轴最小值到数据间,或者某个数值到数据间则可以通过这个配置项进行设置。
 
-可选值包括 `'auto'`(默认值)、 `'start'`、 `'end'` 或者是一个数值。
+可选值包括:
 
-- `'auto'` 填充坐标轴轴线到数据间的区域;
-- `'start'` 填充坐标轴底部(非 `inverse` 情况是最小值)到数据间的区域;
-- `'end'` 填充坐标轴顶部(非 `inverse` 情况是最大值)到数据间的区域;
-- `number` 填充指定数值到数据间的区域。
+- `'auto'` 填充坐标轴轴线到数据间的区域(**默认值**)
+- `'start'` 填充坐标轴底部(非 [`inverse`](~xAxis.inverse) 情况是最小值)到数据间的区域
+- `'end'` 填充坐标轴顶部(非 [`inverse`](~xAxis.inverse) 情况是最大值)到数据间的区域
+- `number` 填充指定数值到数据间的区域(从 `v5.3.2` 开始支持)
 {{ /if }}
 
 {{ use: partial-style-shadow-opacity(

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

Reply via email to