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/11/29 10:20:11 UTC

[echarts-doc] 02/02: fix(graphic): add missing `opacity` option for graphic element style.

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

commit 3766583435b5205785f4d8e8be0944a6665878eb
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Nov 29 18:19:13 2022 +0800

    fix(graphic): add missing `opacity` option for graphic element style.
---
 en/option/partial/zr-graphic.md | 6 +++++-
 zh/option/partial/zr-graphic.md | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md
index 0f4086a2..30ee80b4 100644
--- a/en/option/partial/zr-graphic.md
+++ b/en/option/partial/zr-graphic.md
@@ -1591,7 +1591,11 @@ Y offset of shadow.
 
 ###${prefix} shadowColor(number) = undefined
 
-color of shadow.
+Color of shadow.
+
+###${prefix} opacity(number) = 1
+
+Opacity of this element.
 
 {{ use: partial-graphic-cpt-sub-prop-transition(
     prefix = ${prefix},
diff --git a/zh/option/partial/zr-graphic.md b/zh/option/partial/zr-graphic.md
index a2a58055..be3b6635 100644
--- a/zh/option/partial/zr-graphic.md
+++ b/zh/option/partial/zr-graphic.md
@@ -1575,6 +1575,10 @@ Position of `textContent`.
 
 阴影颜色。
 
+###${prefix} opacity(number) = 1
+
+不透明度。
+
 {{ use: partial-graphic-cpt-sub-prop-transition(
     prefix = ${prefix},
     hostProp = 'style',


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