You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/11/16 03:11:58 UTC
[echarts-doc] branch fix-treemap created (now c37378b)
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a change to branch fix-treemap
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git.
at c37378b fix: dafault value of treemap.label.padding
This branch includes the following new commits:
new c37378b fix: dafault value of treemap.label.padding
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[echarts-doc] 01/01: fix: dafault value of treemap.label.padding
Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch fix-treemap
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
commit c37378b7e4e771f42848fd47036d4a0a064af282
Author: Ovilia <zw...@gmail.com>
AuthorDate: Tue Nov 16 11:10:15 2021 +0800
fix: dafault value of treemap.label.padding
---
en/option/partial/label.md | 1 +
en/option/partial/text-style.md | 3 ++-
en/option/series/treemap.md | 1 +
zh/option/partial/label.md | 1 +
zh/option/partial/text-style.md | 3 ++-
5 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/en/option/partial/label.md b/en/option/partial/label.md
index 6b15321..19dd729 100644
--- a/en/option/partial/label.md
+++ b/en/option/partial/label.md
@@ -69,6 +69,7 @@ Whether to move text slightly. For example: `[30, 40]` means move `30` horizonta
noVerticalAlign = ${noVerticalAlign},
name = ${name},
defaultColor = ${defaultColor},
+ defaultPadding = ${defaultPadding},
defaultFontSize = ${defaultFontSize},
noRich = ${noRich},
noBox = ${noBox},
diff --git a/en/option/partial/text-style.md b/en/option/partial/text-style.md
index 24ce81c..3e8a5bd 100644
--- a/en/option/partial/text-style.md
+++ b/en/option/partial/text-style.md
@@ -22,6 +22,7 @@
prefix = ${prefix},
name = ${name},
defaultColor = ${defaultColor},
+ defaultPadding = ${defaultPadding},
defaultFontSize = ${defaultFontSize},
defaultFontWeight = ${defaultFontWeight},
defaultLineHeight = ${defaultLineHeight},
@@ -273,7 +274,7 @@ Border width of the text fragment.
Border radius of the text fragment.
-#${prefix} padding(number|Array) = 0
+#${prefix} padding(number|Array) = ${defaultPadding|default(0)}
<ExampleUIControlVector min="0" dims="T,R,B,L" />
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index d5d00d5..3741c58 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -558,6 +558,7 @@ This can hide the details of nodes when the rectangular area is not large enough
{{ use: partial-label(
prefix = ${prefix} + "#",
+ defaultPadding = 5,
defaultPosition = "'inside'",
formatter = true
) }}
diff --git a/zh/option/partial/label.md b/zh/option/partial/label.md
index f08aa90..e8b8d84 100644
--- a/zh/option/partial/label.md
+++ b/zh/option/partial/label.md
@@ -69,6 +69,7 @@ ${name}图形上的文本标签,可用于说明图形的一些数据信息,
noVerticalAlign = ${noVerticalAlign},
name = ${name},
defaultColor = ${defaultColor},
+ defaultPadding = ${defaultPadding},
defaultFontSize = ${defaultFontSize},
noRich = ${noRich},
noBox = ${noBox},
diff --git a/zh/option/partial/text-style.md b/zh/option/partial/text-style.md
index 698306b..00276c3 100644
--- a/zh/option/partial/text-style.md
+++ b/zh/option/partial/text-style.md
@@ -22,6 +22,7 @@
prefix = ${prefix},
name = ${name},
defaultColor = ${defaultColor},
+ defaultPadding = ${defaultPadding},
defaultFontSize = ${defaultFontSize},
defaultFontWeight = ${defaultFontWeight},
defaultLineHeight = ${defaultLineHeight},
@@ -274,7 +275,7 @@ backgroundColor: {
文字块的圆角。
-#${prefix} padding(number|Array) = 0
+#${prefix} padding(number|Array) = ${defaultPadding|default(0)}
<ExampleUIControlVector min="0" dims="T,R,B,L" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org