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 2024/07/01 08:29:29 UTC
(echarts-doc) branch master updated: fix(pictorialBar): fix wrong level of some options & remove deprecated `hoverAnimation` in favor of `emphasis.scale` (resolves #404)
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 66d10337 fix(pictorialBar): fix wrong level of some options & remove deprecated `hoverAnimation` in favor of `emphasis.scale` (resolves #404)
66d10337 is described below
commit 66d103378afe76a9bc3c76dde6d9d710181ac774
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Jul 1 16:27:51 2024 +0800
fix(pictorialBar): fix wrong level of some options & remove deprecated `hoverAnimation` in favor of `emphasis.scale` (resolves #404)
---
en/option/partial/emphasis-common.md | 4 ++--
en/option/series/pictorialBar.md | 42 ++++++++++++++++++++++--------------
zh/option/partial/emphasis-common.md | 4 ++--
zh/option/series/pictorialBar.md | 42 ++++++++++++++++++++++--------------
4 files changed, 56 insertions(+), 36 deletions(-)
diff --git a/en/option/partial/emphasis-common.md b/en/option/partial/emphasis-common.md
index 61dc2e9a..cd695648 100644
--- a/en/option/partial/emphasis-common.md
+++ b/en/option/partial/emphasis-common.md
@@ -17,7 +17,7 @@ When emphasis state is disabled. There will be no highlight effect when the mous
{{ target: partial-focus-blur-scope }}
-### focus(string) = 'none'
+###${prefix} focus(string) = 'none'
{{ if: ${isGeoCoordSys} }}
{{ use: partial-version(
@@ -74,7 +74,7 @@ emphasis: {
{{ /if }}
{{ if: !${isGeoCoordSys} }}
-### blurScope(string) = 'coordinateSystem'
+###${prefix} blurScope(string) = 'coordinateSystem'
{{ use: partial-version(
version = "5.0.0"
diff --git a/en/option/series/pictorialBar.md b/en/option/series/pictorialBar.md
index cc1494a8..56562a8f 100644
--- a/en/option/series/pictorialBar.md
+++ b/en/option/series/pictorialBar.md
@@ -120,6 +120,14 @@ Configurations of emphasis state.
prefix = "##"
) }}
+### scale(boolean) = false
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Whether to enable hover animation.
+
{{ use: partial-focus-blur-scope() }}
{{ use: pictorialBar-state(
@@ -242,6 +250,18 @@ Emphasis state of the specified single data.
prefix = "###"
) }}
+#### scale(boolean) = false
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Whether to enable hover animation.
+
+{{ use: partial-focus-blur-scope(
+ prefix = "#"
+) }}
+
{{ use: partial-bar-state(
prefix = "###",
state = 'emphasis'
@@ -305,14 +325,14 @@ Select state of the specified single data.
noAnimationDelay = true
) }}
-{{ use: partial-universal-transition(
- prefix = "#"
-) }}
-
{{ use: pictorialBar-animation-delay(
prefix = "##"
) }}
+{{ use: partial-universal-transition(
+ prefix = "#"
+) }}
+
{{ use: partial-tooltip-in-series() }}
@@ -569,23 +589,13 @@ For example:
Specify the relationship of overlap between graphic elements. A bigger value means higher.
{{ /if }}
-#${prefix} hoverAnimation(boolean) = false
-
-<ExampleUIControlBoolean />
-
-Whether to enable hover animation.
-
-{{ use: pictorialBar-symbol-attrs-cascade(
- attrName = 'hoverAnimation'
-) }}
-
{{ use: partial-animation(
- prefix = "##",
+ prefix = ${prefix},
noAnimationDelay = true
) }}
{{ use: pictorialBar-animation-delay(
- prefix = "##"
+ prefix = ${prefix}
) }}
diff --git a/zh/option/partial/emphasis-common.md b/zh/option/partial/emphasis-common.md
index f94e6b62..a712dfcb 100644
--- a/zh/option/partial/emphasis-common.md
+++ b/zh/option/partial/emphasis-common.md
@@ -17,7 +17,7 @@
{{ target: partial-focus-blur-scope }}
-### focus(string) = 'none'
+###${prefix} focus(string) = 'none'
{{ if: ${isGeoCoordSys} }}
{{ use: partial-version(
@@ -78,7 +78,7 @@ emphasis: {
{{ /if }}
{{ if: !${isGeoCoordSys} }}
-### blurScope(string) = 'coordinateSystem'
+###${prefix} blurScope(string) = 'coordinateSystem'
{{ use: partial-version(
version = "5.0.0"
diff --git a/zh/option/series/pictorialBar.md b/zh/option/series/pictorialBar.md
index 963ab17d..35c033c5 100644
--- a/zh/option/series/pictorialBar.md
+++ b/zh/option/series/pictorialBar.md
@@ -169,6 +169,14 @@ option = {
prefix = "##"
) }}
+### scale(boolean) = false
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+是否开启 hover 在图形上的提示动画效果。
+
{{ use: partial-focus-blur-scope() }}
{{ use: pictorialBar-state(
@@ -291,6 +299,18 @@ option = {
prefix = "###"
) }}
+#### scale(boolean) = false
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+是否开启 hover 在图形上的提示动画效果。
+
+{{ use: partial-focus-blur-scope(
+ prefix = "#"
+) }}
+
{{ use: partial-bar-state(
prefix = "###",
state = 'emphasis'
@@ -354,14 +374,14 @@ option = {
noAnimationDelay = true
) }}
-{{ use: partial-universal-transition(
- prefix = "#"
-) }}
-
{{ use: pictorialBar-animation-delay(
prefix = "##"
) }}
+{{ use: partial-universal-transition(
+ prefix = "#"
+) }}
+
{{ use: partial-tooltip-in-series() }}
@@ -620,23 +640,13 @@ itemStyle: {
指定图形元素间的覆盖关系。数值越大,越在层叠的上方。
{{ /if }}
-#${prefix} hoverAnimation(boolean) = false
-
-<ExampleUIControlBoolean />
-
-是否开启 hover 在图形上的提示动画效果。
-
-{{ use: pictorialBar-symbol-attrs-cascade(
- attrName = 'hoverAnimation'
-) }}
-
{{ use: partial-animation(
- prefix = "##",
+ prefix = ${prefix},
noAnimationDelay = true
) }}
{{ use: pictorialBar-animation-delay(
- prefix = "##"
+ prefix = ${prefix}
) }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org