This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev-5.5.0 in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
commit cf42fef9f45af5b4e91abe75777ed608b9141005 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Fri Feb 2 16:50:36 2024 +0800 doc: add doc for apache/echarts#19099 --- en/option/component/angle-axis.md | 10 +++++++++- zh/option/component/angle-axis.md | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/en/option/component/angle-axis.md b/en/option/component/angle-axis.md index e81562f6..78f4b44a 100644 --- a/en/option/component/angle-axis.md +++ b/en/option/component/angle-axis.md @@ -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" /> diff --git a/zh/option/component/angle-axis.md b/zh/option/component/angle-axis.md index b923f780..3a2b8d3d 100644 --- a/zh/option/component/angle-axis.md +++ b/zh/option/component/angle-axis.md @@ -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" /> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org