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/21 03:05:48 UTC

[echarts-doc] branch master updated: fix(legend): fix a typo of `inherit`, resolves apache/echarts#17248

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 fb2782c6 fix(legend): fix a typo of `inherit`, resolves apache/echarts#17248
fb2782c6 is described below

commit fb2782c6e4aba92c68486fdb000576e3691fe02a
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Jun 21 11:03:34 2022 +0800

    fix(legend): fix a typo of `inherit`, resolves apache/echarts#17248
---
 en/option/component/legend.md | 2 +-
 zh/option/component/legend.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/en/option/component/legend.md b/en/option/component/legend.md
index 385b336c..0ba1f916 100644
--- a/en/option/component/legend.md
+++ b/en/option/component/legend.md
@@ -477,7 +477,7 @@ ${name} item style. If its children have values as `'inherit'`, the values are i
     defaultColor = 'inherit',
     defaultBorderColor = 'inherit',
     defaultBorderWidth = 'auto',
-    defaultBorderWidthDesc = 'When its value is `"auto"`, if there is `borderWidth` in series, then it is set to be 2, otherwise, it is set to be 0. If its value is `"inehrit"`, then the `borderWidth` of the series are always used',
+    defaultBorderWidthDesc = 'When its value is `"auto"`, if there is `borderWidth` in series, then it is set to be 2, otherwise, it is set to be 0. If its value is `"inherit"`, then the `borderWidth` of the series are always used',
     defaultType = 'inherit',
     defaultOpacity = 'inherit',
     defaultShadowBlur = 0,
diff --git a/zh/option/component/legend.md b/zh/option/component/legend.md
index 6a02c894..d70a4515 100644
--- a/zh/option/component/legend.md
+++ b/zh/option/component/legend.md
@@ -573,7 +573,7 @@ ${name}的图形样式。其属性的取值为 `'inherit'` 时,表示继承系
     defaultColor = 'inherit',
     defaultBorderColor = 'inherit',
     defaultBorderWidth = 'auto',
-    defaultBorderWidthDesc = '当其值为 `"auto"` 时,如果系列有 `borderWidth` 取 2,如果系列没有 `borderWidth` 则取 0。当其值为 `"inehrit"` 时,始终取系列的 `borderWidth`。',
+    defaultBorderWidthDesc = '当其值为 `"auto"` 时,如果系列有 `borderWidth` 取 2,如果系列没有 `borderWidth` 则取 0。当其值为 `"inherit"` 时,始终取系列的 `borderWidth`。',
     defaultType = 'inherit',
     defaultOpacity = 'inherit',
     defaultShadowBlur = 0,


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