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:20:50 UTC
[echarts-doc] branch dev updated: tweak apache/echarts-doc#255
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 50c684ca tweak apache/echarts-doc#255
50c684ca is described below
commit 50c684ca67787d460e7980e8f6dfacc659d8dbd6
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Jun 14 09:19:08 2022 +0800
tweak apache/echarts-doc#255
---
en/option-gl/series/bar3D.md | 2 +-
en/option/series/bar.md | 2 +-
en/option/series/line.md | 2 +-
zh/option-gl/series/bar3D.md | 17 +++++++++++++++--
4 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/en/option-gl/series/bar3D.md b/en/option-gl/series/bar3D.md
index 65f5bc30..94bbfb38 100644
--- a/en/option-gl/series/bar3D.md
+++ b/en/option-gl/series/bar3D.md
@@ -47,7 +47,7 @@ Notice: `stack` only supports stacking on `value` and `log` axis for now. `time`
## stackStrategy(string) = 'samesign'
{{ use: partial-version(
-version = '5.3.3'
+ version = '5.3.3'
) }}
How to stack values if the [stack](~series-bar3D.stack) property has been set. Options:
diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index ac4cc77d..1779de38 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -147,7 +147,7 @@ Notice: `stack` only supports stacking on `value` and `log` axis for now. `time`
## stackStrategy(string) = 'samesign'
{{ use: partial-version(
-version = '5.3.3'
+ version = '5.3.3'
) }}
How to stack values if the [stack](~series-bar.stack) property has been set. Options:
diff --git a/en/option/series/line.md b/en/option/series/line.md
index de250c9a..0585e8f7 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -71,7 +71,7 @@ The effect of the below example could be seen through stack switching of [toolbo
## stackStrategy(string) = 'samesign'
{{ use: partial-version(
-version = '5.3.3'
+ version = '5.3.3'
) }}
How to stack values if the [stack](~series-line.stack) property has been set. Options:
diff --git a/zh/option-gl/series/bar3D.md b/zh/option-gl/series/bar3D.md
index 005e9b0a..693b7eff 100644
--- a/zh/option-gl/series/bar3D.md
+++ b/zh/option-gl/series/bar3D.md
@@ -36,9 +36,22 @@
## stack(string)
-柱状图堆叠,相同 `stack` 值的柱状图系列数据会有叠加。注意不同系列需要叠加的数据项在数组中的索引必须是一样的。
+柱状图堆叠,相同 `stack` 值的柱状图系列数据会有叠加。注意不同系列需要叠加的数据项在数组中的索引必须是一样的。关于如何定制数值的堆叠方式,参见 [stackStrategy](~series-bar3D.stackStrategy)。
-注:目前`stack`只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。
+注:目前 `stack` 只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。
+
+## stackStrategy(string) = 'samesign'
+
+{{ use: partial-version(
+ version = '5.3.3'
+) }}
+
+堆积数值的策略,前提是[stack](~series-bar3D.stack)属性已被设置。其值可以是:
+
++ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
++ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'positive'` 只堆积正值。
++ `'negatve'` 只堆叠负值。
## minHeight(number) = 0
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org