Skip to content

Commit

Permalink
Merge pull request #358 from linghaoSu/feat/pie-pad-angle
Browse files Browse the repository at this point in the history
feat(pie): add `padAngle` doc description
  • Loading branch information
plainheart authored Sep 19, 2023
2 parents fab1f6a + d959c20 commit b7a974c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions en/option/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ When the value is `'auto'`, the end angle is calculated automatically based on [

The minimum angle of sector (0 ~ 360). It prevents some sector from being too small when value is small, which will affect user interaction.

## padAngle(number) = 0

<ExampleUIControlAngle step="1" min="0" max="360" default="0" />

The interval between pie chart sectors (0 ~ 360).

## minShowLabelAngle(number) = 0

<ExampleUIControlAngle step="1" min="0" max="360" default="0" />
Expand Down
6 changes: 6 additions & 0 deletions zh/option/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ const option = {

最小的扇区角度(0 ~ 360),用于防止某个值过小导致扇区太小影响交互。

## padAngle(number) = 0

<ExampleUIControlAngle step="1" min="0" max="360" default="0" />

饼图扇区之间的间隔(0 ~ 360)。

## minShowLabelAngle(number) = 0

<ExampleUIControlAngle step="1" min="0" max="360" default="0" />
Expand Down

0 comments on commit b7a974c

Please sign in to comment.