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 281968f7 fix(heatmap): add missing version hint for `itemStyle.borderRadius`, resolves apache/echarts#17128. 281968f7 is described below commit 281968f76c05726a0841cb7cc0e23a23ea86e4b6 Author: plainheart <y...@all-my-life.cn> AuthorDate: Sat May 28 11:28:19 2022 +0800 fix(heatmap): add missing version hint for `itemStyle.borderRadius`, resolves apache/echarts#17128. --- en/option/partial/component-common-style.md | 6 ++++++ en/option/series/heatmap.md | 3 ++- zh/option/partial/component-common-style.md | 6 ++++++ zh/option/series/heatmap.md | 6 ++++-- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/en/option/partial/component-common-style.md b/en/option/partial/component-common-style.md index ebbdd10f..e5d391a1 100644 --- a/en/option/partial/component-common-style.md +++ b/en/option/partial/component-common-style.md @@ -50,6 +50,12 @@ Border width of ${componentName}. #${prefix} ${propName|default('borderRadius')}(number|Array) = 0 +{{ if: ${version} }} +{{ use: partial-version( + version = ${version} +) }} +{{ /if }} + <ExampleUIControlVector min="0" dims="LT,RT,RB,LB" /> The radius of rounded corner. Its unit is px. And it supports use array to respectively specify the 4 corner radiuses. diff --git a/en/option/series/heatmap.md b/en/option/series/heatmap.md index 4cf1c5fa..333706cb 100644 --- a/en/option/series/heatmap.md +++ b/en/option/series/heatmap.md @@ -75,7 +75,8 @@ Work for [coordinateSystem](~series-heatmap.coordinateSystem): 'cartesian2d'. ) }} {{ use: partial-border-radius( - prefix = "##" + prefix = "##", + version = "5.3.1" ) }} ## emphasis(Object) diff --git a/zh/option/partial/component-common-style.md b/zh/option/partial/component-common-style.md index 7ac98033..1f8b6391 100644 --- a/zh/option/partial/component-common-style.md +++ b/zh/option/partial/component-common-style.md @@ -50,6 +50,12 @@ ${componentName}的边框线宽。 #${prefix} ${propName|default('borderRadius')}(number|Array) = 0 +{{ if: ${version} }} +{{ use: partial-version( + version = ${version} +) }} +{{ /if }} + <ExampleUIControlVector min="0" dims="LT,RT,RB,LB" /> 圆角半径,单位px,支持传入数组分别指定 4 个圆角半径。 diff --git a/zh/option/series/heatmap.md b/zh/option/series/heatmap.md index 5e8288a0..ea944602 100644 --- a/zh/option/series/heatmap.md +++ b/zh/option/series/heatmap.md @@ -126,7 +126,8 @@ option = { ) }} {{ use: partial-border-radius( - prefix = "##" + prefix = "##", + version = "5.3.1" ) }} ## emphasis(Object) @@ -222,7 +223,8 @@ option = { ) }} {{ use: partial-border-radius( - prefix = '###' + prefix = "###", + version = "5.3.1" ) }} ### emphasis(Object) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org