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/08 01:38:44 UTC
[echarts-doc] branch master updated: fix: add version hint for `labelLine` & add `number` type to `emphasis.scale` for more series.
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 899069a5 fix: add version hint for `labelLine` & add `number` type to `emphasis.scale` for more series.
899069a5 is described below
commit 899069a58682c2b5cab9fbaf176ed1c3ab6df971
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Jun 8 09:38:23 2022 +0800
fix: add version hint for `labelLine` & add `number` type to `emphasis.scale` for more series.
---
en/option/partial/label-line.md | 12 ++++++++++++
en/option/series/effectScatter.md | 8 ++++++--
en/option/series/graph.md | 8 ++++++--
en/option/series/line.md | 8 ++++++--
en/option/series/pie.md | 14 +++++++++++++-
en/option/series/scatter.md | 6 +++++-
zh/option/partial/label-line.md | 12 ++++++++++++
zh/option/series/effectScatter.md | 8 ++++++--
zh/option/series/graph.md | 8 ++++++--
zh/option/series/line.md | 8 ++++++--
zh/option/series/pie.md | 14 +++++++++++++-
zh/option/series/scatter.md | 6 +++++-
12 files changed, 96 insertions(+), 16 deletions(-)
diff --git a/en/option/partial/label-line.md b/en/option/partial/label-line.md
index b3479d37..01dc4287 100644
--- a/en/option/partial/label-line.md
+++ b/en/option/partial/label-line.md
@@ -1,6 +1,10 @@
{{ target: partial-label-line-desc }}
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
Configuration of label guide line.
@@ -16,6 +20,10 @@ Whether to show the label guide line.
{{ if: ${showAbove} }}
#${prefix} showAbove(boolean)
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
Whether to show the label guide line above the corresponding element.
{{ /if }}
@@ -46,6 +54,10 @@ Whether to smooth the guide line. It defaults to be `false` and can be set as `t
{{ if: ${minTurnAngle} }}
#${prefix} minTurnAngle(number) = ${defaultMinTurnAngle|default(null)}
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
Minimum turn angle between two segments of guide line to prevent unaesthetic display when angle is too small.
Can be 0 - 180 degree.
diff --git a/en/option/series/effectScatter.md b/en/option/series/effectScatter.md
index ae2fc5d2..8682a9b8 100644
--- a/en/option/series/effectScatter.md
+++ b/en/option/series/effectScatter.md
@@ -142,11 +142,15 @@ Configurations of emphasis state.
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
<ExampleUIControlBoolean default="true" />
-Whether to scale to highlight the data in emphasis state.
+Whether to scale to highlight the data in emphasis state. `number` has been supported since `v5.3.2`, the default scale value is 1.1.
{{ use: partial-focus-blur-scope() }}
diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index 7eb2a446..cf549274 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -229,11 +229,15 @@ Configurations of emphasis state.
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
<ExampleUIControlBoolean default="true" />
-Whether to scale to highlight the node in emphasis state.
+Whether to scale to highlight the node in emphasis state. `number` has been supported since `v5.3.2`, the default scale value is 1.1.
{{ use: partial-focus-blur-scope(
isGraph = true
diff --git a/en/option/series/line.md b/en/option/series/line.md
index ef80ec97..8d05091e 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -181,9 +181,13 @@ Highlight style of the graphic.
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
-Whether to scale to highlight the data in emphasis state.
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+Whether to scale to highlight the data in emphasis state. `number` has been supported since `v5.3.2`, the default scale value is 1.1.
{{ use: partial-focus-blur-scope() }}
diff --git a/en/option/series/pie.md b/en/option/series/pie.md
index ec32f469..4fe3d13d 100644
--- a/en/option/series/pie.md
+++ b/en/option/series/pie.md
@@ -187,6 +187,10 @@ The style of visual guide line. Will show when [label position](~series-pie.labe
### maxSurfaceAngle(number)
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
Max angle between guide line and surface normal. To prevent guide line overlapping with sector.
Can be 0 - 180 degree.
@@ -223,15 +227,23 @@ Configurations of emphasis state.
### scale(boolean) = true
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlBoolean default="true" />
Whether to scale to highlight the data in emphasis state.
### scaleSize(number) = 10
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlNumber min="0" default="10" />
-Size of scale. Available when [emphasis.scale](~series-pie.emphasis.scale) is set `true`.
+Size of scale. Available when [emphasis.scale](~series-pie.emphasis.scale) is set as `true`.
{{ use: partial-focus-blur-scope() }}
diff --git a/en/option/series/scatter.md b/en/option/series/scatter.md
index 8d7410b5..7730b84f 100644
--- a/en/option/series/scatter.md
+++ b/en/option/series/scatter.md
@@ -92,9 +92,13 @@ Configurations of emphasis state.
### scale(boolean|number) = true
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlBoolean default="true" />
-Whether to scale to highlight the data in emphasis state. Since version `5.3.2`, scale supports `number`, default number is 1.1.
+Whether to scale to highlight the data in emphasis state. `number` has been supported since `v5.3.2`, the default scale value is 1.1.
{{ use: partial-focus-blur-scope() }}
diff --git a/zh/option/partial/label-line.md b/zh/option/partial/label-line.md
index 96bb7d1f..86ad34a2 100644
--- a/zh/option/partial/label-line.md
+++ b/zh/option/partial/label-line.md
@@ -1,6 +1,10 @@
{{ target: partial-label-line-desc }}
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
标签的视觉引导线配置。
@@ -16,6 +20,10 @@
{{ if: ${showAbove} }}
#${prefix} showAbove(boolean)
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
是否显示在图形上方。
{{ /if }}
@@ -46,6 +54,10 @@
{{ if: ${minTurnAngle} }}
#${prefix} minTurnAngle(number) = ${defaultMinTurnAngle|default(null)}
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
通过调整第二段线的长度,限制引导线两端之间最小的夹角,以防止过小的夹角导致显示不美观。
可以设置为 0 - 180 度。
diff --git a/zh/option/series/effectScatter.md b/zh/option/series/effectScatter.md
index e5b16da8..377e7681 100644
--- a/zh/option/series/effectScatter.md
+++ b/zh/option/series/effectScatter.md
@@ -159,11 +159,15 @@ const option = {
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
<ExampleUIControlBoolean default="true" />
-是否开启高亮后的放大效果。
+是否开启高亮后的放大效果。从 `5.3.2` 版本开始支持 `number`,用以设置高亮放大倍数,默认放大 1.1 倍。
{{ use: partial-focus-blur-scope() }}
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index b315952f..59219240 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -234,11 +234,15 @@ edgeSymbol: ['circle', 'arrow']
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
+
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
<ExampleUIControlBoolean default="true" />
-是否开启高亮后节点的放大效果。
+是否开启高亮后节点的放大效果。从 `5.3.2` 版本开始支持 `number`,用以设置高亮放大倍数,默认放大 1.1 倍。
{{ use: partial-focus-blur-scope(
isGraph = true
diff --git a/zh/option/series/line.md b/zh/option/series/line.md
index 9d095130..18dce3e9 100644
--- a/zh/option/series/line.md
+++ b/zh/option/series/line.md
@@ -212,9 +212,13 @@ const option = {
prefix = "##"
) }}
-### scale(boolean) = true
+### scale(boolean|number) = true
-是否开启 hover 在拐点标志上的放大效果。
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
+是否开启 hover 在拐点标志上的放大效果。从 `5.3.2` 版本开始支持 `number`,用以设置高亮放大倍数,默认放大 1.1 倍。
{{ use: partial-focus-blur-scope() }}
diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md
index 4388e403..257a0d08 100644
--- a/zh/option/series/pie.md
+++ b/zh/option/series/pie.md
@@ -210,6 +210,10 @@ const option = {
### maxSurfaceAngle(number)
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
通过调整第二段线的长度,限制引导线与扇区法线的最大夹角。设置为小于 90 度的值保证引导线不会和扇区交叉。
可以设置为 0 - 180 度。
@@ -246,15 +250,23 @@ const option = {
### scale(boolean) = true
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlBoolean default="true" />
是否开启高亮后扇区的放大效果。
### scaleSize(number) = 10
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlNumber min="0" default="10" />
-高亮后扇区的放大尺寸, 在开启 [emphasis.scale](~series-pie.emphasis.scale) 后有效。
+高亮后扇区的放大尺寸,在开启 [emphasis.scale](~series-pie.emphasis.scale) 后有效。
{{ use: partial-focus-blur-scope() }}
diff --git a/zh/option/series/scatter.md b/zh/option/series/scatter.md
index f600bf10..f58fc36d 100644
--- a/zh/option/series/scatter.md
+++ b/zh/option/series/scatter.md
@@ -161,9 +161,13 @@ const option = {
### scale(boolean|number) = true
+{{ use: partial-version(
+ version = "5.0.0"
+) }}
+
<ExampleUIControlBoolean default="true" />
-是否开启高亮后的放大效果。从 `5.3.2` 版本开始支持 `number`, 来设置高亮放大倍数, 默认放大 1.1 倍。
+是否开启高亮后的放大效果。从 `5.3.2` 版本开始支持 `number`,用以设置高亮放大倍数,默认放大 1.1 倍。
{{ use: partial-focus-blur-scope() }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org