Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions en/option/partial/zr-graphic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
10 changes: 10 additions & 0 deletions zh/option/partial/zr-graphic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down