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

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

commit 20534f022f3d7ebaaf60d67b8bd1c5232e4f4e39
Author: Ovilia <[email protected]>
AuthorDate: Thu Nov 20 16:03:20 2025 +0800

    doc: add missing doc for sector.cornerRadius
---
 en/option/partial/zr-graphic.md | 10 ++++++++++
 zh/option/partial/zr-graphic.md | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md
index 2550b10d..565f66c7 100644
--- a/en/option/partial/zr-graphic.md
+++ b/en/option/partial/zr-graphic.md
@@ -626,6 +626,16 @@ Sector element.
     symbolDeclare = ${symbolDeclare}
 ) }}
 
+###${prefix} cornerRadius(number|Array)
+
+{{ use: partial-version(version = "5.3.0") }}
+
+The corner radius of the sector.
+
++ `cornerRadius: 10`: Indicates that both the inner and outer corner radii are 
10px.
++ `cornerRadius: [10, 20]`: When applied to a ring chart, the inner corner 
radius is 10px and the outer corner radius is 20px.
++ `cornerRadius: [5, 10, 15, 20]`: Indicates that the inner corner radii are 
5px and 10px, and the outer corner radii are 15px and 20px.
+
 {{ use: partial-graphic-cpt-sub-prop-angle(
     prefix = ${prefix},
     optionPath = ${optionPath},
diff --git a/zh/option/partial/zr-graphic.md b/zh/option/partial/zr-graphic.md
index 2ac0983d..755aadb6 100644
--- a/zh/option/partial/zr-graphic.md
+++ b/zh/option/partial/zr-graphic.md
@@ -627,6 +627,16 @@ font: 'bolder 2em "Microsoft YaHei", sans-serif'
     symbolDeclare = ${symbolDeclare}
 ) }}
 
+###${prefix} cornerRadius(number|Array)
+
+{{ use: partial-version(version = "5.3.0") }}
+
+扇形的圆角。
+
++ `cornerRadius: 10`:表示内圆角半径和外圆角半径都是 `10px`。
++ `cornerRadius: [10, 20]`:表示为环形图时,内圆角半径是 `10px`、外圆角半径是 `20px`。
++ `cornerRadius: [5, 10, 15, 20]`:表示内圆角半径分别为 `5px` 和 `10px`,外圆角半径分别为 `15px` 和 
`20px`。
+
 {{ use: partial-graphic-cpt-sub-prop-angle(
     prefix = ${prefix},
     optionPath = ${optionPath},


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to