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/02/15 13:17:25 UTC

[echarts-doc] 01/01: fix(graphic): remove unsupported options from graphic `group`. (apache/echarts#16513)

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

wangzx pushed a commit to branch fix-graphic-group
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git

commit 1b8dc8e3f625de36b42e470d77a9014d6ff9f01a
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Feb 15 21:15:49 2022 +0800

    fix(graphic): remove unsupported options from graphic `group`. (apache/echarts#16513)
---
 en/option/partial/zr-graphic.md | 7 ++++++-
 zh/option/partial/zr-graphic.md | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md
index aca7998..bec05fb 100644
--- a/en/option/partial/zr-graphic.md
+++ b/en/option/partial/zr-graphic.md
@@ -1375,9 +1375,11 @@ chart.on('click', function (params) {
 
 Whether response to mouse events / touch events.
 
+{{ if: ${type} !== 'group' }}
 ##${prefix} invisible(boolean) = false
 
 Whether the element is visible.
+{{ /if }}
 
 ##${prefix} ignore(boolean) = false
 
@@ -1526,19 +1528,22 @@ Tell echarts that I can make sure this text is inside or not.
 {{ /if }}
 
 {{ if: ${usageType} === 'graphicComponent' }}
+{{ if: ${type} !== 'group' }}
 {{ use: partial-cursor(
     prefix = "##"
 ) }}
+{{ /if }}
 
 ##${prefix} draggable(boolean) = false
 
 Can be dragged or not.
 
+{{ if: ${type} !== 'group' }}
 ##${prefix} progressive(boolean) = false
 
 Whether use progressive render to improve performance. Usually used when number of element is too large.
 {{ /if }}
-
+{{ /if }}
 
 
 {{ target: partial-graphic-cpt-style-prop-common }}
diff --git a/zh/option/partial/zr-graphic.md b/zh/option/partial/zr-graphic.md
index a7e7d67..48a7a76 100644
--- a/zh/option/partial/zr-graphic.md
+++ b/zh/option/partial/zr-graphic.md
@@ -1357,9 +1357,11 @@ chart.on('click', function (params) {
 
 是否不响应鼠标以及触摸事件。
 
+{{ if: ${type} !== 'group' }}
 ##${prefix} invisible(boolean) = false
 
 节点是否可见。
+{{ /if }}
 
 ##${prefix} ignore(boolean) = false
 
@@ -1508,19 +1510,22 @@ Position of `textContent`.
 {{ /if }}
 
 {{ if: ${usageType} === 'graphicComponent' }}
+{{ if: ${type} !== 'group' }}
 {{ use: partial-cursor(
     prefix = "##"
 ) }}
+{{ /if }}
 
 ##${prefix} draggable(boolean) = false
 
 图形元素是否可以被拖拽。
 
+{{ if: ${type} !== 'group' }}
 ##${prefix} progressive(boolean) = false
 
 是否渐进式渲染。当图形元素过多时才使用。
 {{ /if }}
-
+{{ /if }}
 
 
 {{ target: partial-graphic-cpt-style-prop-common }}

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