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:52:29 UTC
[echarts-doc] branch dev updated: fix(stackStrategy): fix syntax errors & typos and add version indicator for option-gl
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 40115aae fix(stackStrategy): fix syntax errors & typos and add version indicator for option-gl
40115aae is described below
commit 40115aae710e4af7db814b5e3a838f789786e2f9
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Jun 14 09:50:14 2022 +0800
fix(stackStrategy): fix syntax errors & typos and add version indicator for option-gl
---
en/option-gl/partial/version.md | 5 +++++
en/option-gl/series/bar3D.md | 3 ++-
en/option/series/bar.md | 2 +-
en/option/series/line.md | 2 +-
zh/option-gl/partial/version.md | 5 +++++
zh/option-gl/series/bar3D.md | 5 +++--
zh/option/series/bar.md | 4 ++--
zh/option/series/line.md | 4 ++--
8 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/en/option-gl/partial/version.md b/en/option-gl/partial/version.md
new file mode 100644
index 00000000..4c4bf937
--- /dev/null
+++ b/en/option-gl/partial/version.md
@@ -0,0 +1,5 @@
+
+{{ target: partial-version }}
+
+> Since{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}`
+
diff --git a/en/option-gl/series/bar3D.md b/en/option-gl/series/bar3D.md
index 94bbfb38..84f9f021 100644
--- a/en/option-gl/series/bar3D.md
+++ b/en/option-gl/series/bar3D.md
@@ -47,6 +47,7 @@ Notice: `stack` only supports stacking on `value` and `log` axis for now. `time`
## stackStrategy(string) = 'samesign'
{{ use: partial-version(
+ isECharts = true,
version = '5.3.3'
) }}
@@ -54,7 +55,7 @@ How to stack values if the [stack](~series-bar3D.stack) property has been set. O
+ `'samesign'`: only stack values if the value to be stacked has the same sign as the currently cumulated stacked value.
+ `'all'`: stack all values, irrespective of the signs of the current or cumulative stacked value.
+ `'positive'`: only stack positive values.
-+ `'negatve'`: only stack negative values.
++ `'negative'`: only stack negative values.
## minHeight(number) = 0
diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index 1779de38..338eb1bf 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -155,7 +155,7 @@ How to stack values if the [stack](~series-bar.stack) property has been set. Opt
+ `'samesign'`: only stack values if the value to be stacked has the same sign as the currently cumulated stacked value.
+ `'all'`: stack all values, irrespective of the signs of the current or cumulative stacked value.
+ `'positive'`: only stack positive values.
-+ `'negatve'`: only stack negative values.
++ `'negative'`: only stack negative values.
## sampling(string)
diff --git a/en/option/series/line.md b/en/option/series/line.md
index 0585e8f7..dd3904ed 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -79,7 +79,7 @@ How to stack values if the [stack](~series-line.stack) property has been set. Op
+ `'samesign'`: only stack values if the value to be stacked has the same sign as the currently cumulated stacked value.
+ `'all'`: stack all values, irrespective of the signs of the current or cumulative stacked value.
+ `'positive'`: only stack positive values.
-+ `'negatve'`: only stack negative values.
++ `'negative'`: only stack negative values.
{{ use: partial-cursor() }}
diff --git a/zh/option-gl/partial/version.md b/zh/option-gl/partial/version.md
new file mode 100644
index 00000000..dfa8120d
--- /dev/null
+++ b/zh/option-gl/partial/version.md
@@ -0,0 +1,5 @@
+
+{{ target: partial-version }}
+
+> 从{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}` 开始支持
+
diff --git a/zh/option-gl/series/bar3D.md b/zh/option-gl/series/bar3D.md
index 693b7eff..cc5c9ac4 100644
--- a/zh/option-gl/series/bar3D.md
+++ b/zh/option-gl/series/bar3D.md
@@ -43,15 +43,16 @@
## stackStrategy(string) = 'samesign'
{{ use: partial-version(
+ isECharts = true,
version = '5.3.3'
) }}
堆积数值的策略,前提是[stack](~series-bar3D.stack)属性已被设置。其值可以是:
+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
-+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'all'` 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
+ `'positive'` 只堆积正值。
-+ `'negatve'` 只堆叠负值。
++ `'negative'` 只堆叠负值。
## minHeight(number) = 0
diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md
index b8c744f2..d850e2a9 100644
--- a/zh/option/series/bar.md
+++ b/zh/option/series/bar.md
@@ -229,9 +229,9 @@ option = {
堆积数值的策略,前提是[stack](~series-bar.stack)属性已被设置。其值可以是:
+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
-+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'all'` 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
+ `'positive'` 只堆积正值。
-+ `'negatve'` 只堆叠负值。
++ `'negative'` 只堆叠负值。
## sampling(string)
diff --git a/zh/option/series/line.md b/zh/option/series/line.md
index 87110cb5..430493e8 100644
--- a/zh/option/series/line.md
+++ b/zh/option/series/line.md
@@ -104,9 +104,9 @@ const option = {
堆积数值的策略,前提是[stack](~series-line.stack)属性已被设置。其值可以是:
+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
-+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'all'` 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
+ `'positive'` 只堆积正值。
-+ `'negatve'` 只堆叠负值。
++ `'negative'` 只堆叠负值。
{{ use: partial-cursor() }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org