Skip to content

Commit

Permalink
doc: add doc for apache/echarts#19099
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Feb 2, 2024
1 parent 3d7d72d commit cf42fef
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion en/option/component/angle-axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,18 @@ The index of angle axis in Polar Coordinate. The first axis is used by default.

Starting angle of axis. 90 degrees by default, standing for top position of center. 0 degree stands for right position of center.

The following shows an example with startAngle of 45 deg.
The following shows an example with `startAngle` of 45 deg.

~[400x400](${galleryViewPath}doc-example/polar-start-angle&edit=1&reset=1)

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

Ending angle of axis. `null` by default, standing for a whole circle.

The following shows an example with `endAngle` of -180 deg.

~[400x400](${galleryViewPath}doc-example/polar-end-angle&edit=1&reset=1)

## clockwise(boolean) = true

<ExampleUIControlBoolean default="true" />
Expand Down
8 changes: 8 additions & 0 deletions zh/option/component/angle-axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ const option = {

~[400x400](${galleryViewPath}doc-example/polar-start-angle&edit=1&reset=1)

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

结束刻度的角度,默认为 `null`,表示一整个圆。

如下示例是 endAngle 为 -180 的效果:

~[400x400](${galleryViewPath}doc-example/polar-end-angle&edit=1&reset=1)

## clockwise(boolean) = true

<ExampleUIControlBoolean default="true" />
Expand Down

0 comments on commit cf42fef

Please sign in to comment.