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

[echarts-doc] branch dev updated: fix: translation of apache/echarts#17086

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

ovilia 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 bee3b504 fix: translation of apache/echarts#17086
bee3b504 is described below

commit bee3b504e0fa1ebcfeda07b3ebf36b52a417b4e4
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Jun 13 10:57:08 2022 +0800

    fix: translation of apache/echarts#17086
---
 en/option/series/bar.md  |  1 +
 en/option/series/line.md |  2 +-
 zh/option/series/bar.md  | 16 ++++++++--------
 zh/option/series/line.md | 18 ++++++++----------
 4 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index 1460cedb..ac4cc77d 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -151,6 +151,7 @@ version = '5.3.3'
 ) }}
 
 How to stack values if the [stack](~series-bar.stack) property has been set. Options:
+
 + `'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.
diff --git a/en/option/series/line.md b/en/option/series/line.md
index 3d16f7ac..de250c9a 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -75,6 +75,7 @@ version = '5.3.3'
 ) }}
 
 How to stack values if the [stack](~series-line.stack) property has been set. Options:
+
 + `'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.
@@ -490,4 +491,3 @@ Select state of specified single data.
     prefix = "####",
     hasInherit = ${state} === 'emphasis'
 ) }}
-
diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md
index 518d848c..b8c744f2 100644
--- a/zh/option/series/bar.md
+++ b/zh/option/series/bar.md
@@ -216,9 +216,9 @@ option = {
 
 ## stack(string) = null
 
-数据堆叠,同个类目轴上系列配置相同的`stack`值可以堆叠放置。参见[stackStrategy](~series-line.stackStrategy)关于如何定制数值的堆叠方式。
+数据堆叠,同个类目轴上系列配置相同的 `stack` 值可以堆叠放置。关于如何定制数值的堆叠方式,参见 [stackStrategy](~series-bar.stackStrategy)。
 
-注:目前`stack`只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。
+注:目前 `stack` 只支持堆叠于 `'value'` 和 `'log'` 类型的类目轴上,不支持 `'time'` 和 `'category'` 类型的类目轴。
 
 ## stackStrategy(string) = 'samesign'
 
@@ -226,11 +226,12 @@ option = {
     version = '5.3.3'
 ) }}
 
-如果[stack](~series-bar.stack)属性已被设置,如何堆积数值。选项。
-+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的符号时才堆叠。
-+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的符号是什么。
-+ `'positive' 只堆积正值。
-+ `'negatve' 只堆叠负值。
+堆积数值的策略,前提是[stack](~series-bar.stack)属性已被设置。其值可以是:
+
++ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
++ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'positive'` 只堆积正值。
++ `'negatve'` 只堆叠负值。
 
 ## sampling(string)
 
@@ -512,4 +513,3 @@ option = {
     prefix = '#' + ${prefix}
 ) }}
 {{ /if }}
-
diff --git a/zh/option/series/line.md b/zh/option/series/line.md
index 0a2d3c66..87110cb5 100644
--- a/zh/option/series/line.md
+++ b/zh/option/series/line.md
@@ -87,11 +87,9 @@ const option = {
 
 ## stack(string) = null
 
-数据堆叠,同个类目轴上系列配置相同的`stack`值后,后一个系列的值会在前一个系列的值上相加。
+数据堆叠,同个类目轴上系列配置相同的 `stack` 值可以堆叠放置。关于如何定制数值的堆叠方式,参见 [stackStrategy](~series-line.stackStrategy)。
 
-参见[stackStrategy](~series-line.stackStrategy)关于如何定制数值的堆叠方式。
-
-注:目前`stack`只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。
+注:目前 `stack` 只支持堆叠于 `'value'` 和 `'log'` 类型的类目轴上,不支持 `'time'` 和 `'category'` 类型的类目轴。
 
 下面示例可以通过右上角 [toolbox](~toolbox) 中的堆叠切换看效果:
 
@@ -103,11 +101,12 @@ const option = {
     version = '5.3.3'
 ) }}
 
-如果[stack](~series-bar.stack)属性已被设置,如何堆积数值。选项。
-+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的符号时才堆叠。
-+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的符号是什么。
-+ `'positive' 只堆积正值。
-+ `'negatve' 只堆叠负值。
+堆积数值的策略,前提是[stack](~series-line.stack)属性已被设置。其值可以是:
+
++ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。
++ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。
++ `'positive'` 只堆积正值。
++ `'negatve'` 只堆叠负值。
 
 {{ use: partial-cursor() }}
 
@@ -521,4 +520,3 @@ const option = {
     prefix = "####",
     hasInherit = ${state} === 'emphasis'
 ) }}
-


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