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 ececb97a tweak format flaw in 25450d7487e1a404d181ceaadb0df58abf94cb29
ececb97a is described below
commit ececb97af5f332958753ab7abc35f96eed237a5f
Author: plainheart <[email protected]>
AuthorDate: Fri Dec 22 00:16:09 2023 +0800
tweak format flaw in 25450d7487e1a404d181ceaadb0df58abf94cb29
---
en/option/component/legend.md | 16 ++++++++++++----
zh/option/component/legend.md | 16 ++++++++++++----
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/en/option/component/legend.md b/en/option/component/legend.md
index 112a8cfd..4fedcede 100644
--- a/en/option/component/legend.md
+++ b/en/option/component/legend.md
@@ -135,9 +135,13 @@ Legend color when not selected.
Legend border color when not selected.
-## inactiveBorderWidth(number|'auto'|'inherit') = 'auto'
+## inactiveBorderWidth(number|string) = 'auto'
-Legend border width when not selected. If it is `'auto'`, the border width is
set to be 2 if there is border width in the series, 0 elsewise. If it is
`'inherit'`, it always takes the border width of the series.
+Legend border width when not selected.
+
+If it is `'auto'`, the border width is set to be 2 if there is border width in
the series, 0 elsewise.
+
+If it is `'inherit'`, it always takes the border width of the series.
## selected(Object)
@@ -221,9 +225,13 @@ Legend color when not selected.
Legend border color when not selected.
-### inactiveBorderWidth(number|'auto'|'inherit') = 'auto'
+### inactiveBorderWidth(number|string) = 'auto'
+
+Legend border width when not selected.
+
+If it is `'auto'`, the border width is set to be 2 if there is border width in
the series, 0 elsewise.
-Legend border width when not selected. If it is `'auto'`, the border width is
set to be 2 if there is border width in the series, 0 elsewise. If it is
`'inherit'`, it always takes the border width of the series.
+If it is `'inherit'`, it always takes the border width of the series.
### symbolRotate(number|string) = 'inherit'
diff --git a/zh/option/component/legend.md b/zh/option/component/legend.md
index f936f40f..410c83e8 100644
--- a/zh/option/component/legend.md
+++ b/zh/option/component/legend.md
@@ -218,9 +218,13 @@ formatter: function (name) {
图例关闭时的描边颜色。
-## inactiveBorderWidth(number|'auto'|'inherit') = 'auto'
+## inactiveBorderWidth(number|string) = 'auto'
-图例关闭时的描边粗细。如果为 `'auto'` 表示:如果系列存在描边,则取 2,如果系列不存在描边,则取 0。如果为 `'inherit'`
则表示:始终取系列的描边粗细。
+图例关闭时的描边粗细。
+
+如果为 `'auto'` 表示:如果系列存在描边,则取 2,如果系列不存在描边,则取 0。
+
+如果为 `'inherit'` 表示:始终取系列的描边粗细。
## selected(Object)
@@ -319,9 +323,13 @@ data: [{
图例关闭时的描边颜色。
-### inactiveBorderWidth(number|'auto'|'inherit') = 'auto'
+### inactiveBorderWidth(number|string) = 'auto'
+
+图例关闭时的描边粗细。
+
+如果为 `'auto'` 表示:如果系列存在描边,则取 2,如果系列不存在描边,则取 0。
-图例关闭时的描边粗细。如果为 `'auto'` 表示:如果系列存在描边,则取 2,如果系列不存在描边,则取 0。如果为 `'inherit'`
则表示:始终取系列的描边粗细。
+如果为 `'inherit'` 表示:始终取系列的描边粗细。
### textStyle(Object)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]