Skip to content

Commit

Permalink
docs: add-mark-area-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
skie1997 committed Jan 14, 2025
1 parent 97233bc commit 830cdcf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/assets/option/en/component/mark-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,17 @@ Cartesian coordinate system:
- `'insideTop'`: the upper side inside the area
- `'insideBottom'`: the lower side inside the area

Supported since version 1.13.4:

- `'topLeft'`: the upper left side outside the area,
- `'topRight'`: the upper right side outside the area,
- `'bottomLeft'`: the lower left side outside the area,
- `'bottomRight'`: the lower right side outside the area,
- `'insideTopLeft'`: the upper left side inside the area,
- `'insideTopRight'`: the upper right side inside the area,
- `'insideBottomLeft'`: the lower right side inside the area,
- `'insideBottomRight'`: the lower right side inside the area

Polar coordinate system:

- `'arcInnerStart'`: inside the starting point of the arc
Expand Down
9 changes: 9 additions & 0 deletions docs/assets/option/zh/component/mark-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@ y 轴上的标注区域边界,与 markArea.y 共同构造标注区域。可以
- `'insideRight'`: 区域内部右侧
- `'insideTop'`: 区域内部上侧
- `'insideBottom'`: 区域内部下侧
自 1.13.4 版本支持:
- `'topLeft'`: 区域外侧左上侧,
- `'topRight'`: 区域外侧右上侧,
- `'bottomLeft'`: 区域外侧左下侧,
- `'bottomRight'`: 区域外侧右下侧,
- `'insideTopLeft'`: 区域内侧左上侧,
- `'insideTopRight'`: 区域内侧右上侧,
- `'insideBottomLeft'`: 区域内侧右上侧,
- `'insideBottomRight'`: 区域内侧右下侧

极坐标系下:

Expand Down

0 comments on commit 830cdcf

Please sign in to comment.