From 830cdcf56cb934eb00801a317f9b68e78879e08c Mon Sep 17 00:00:00 2001 From: skie1997 Date: Wed, 15 Jan 2025 03:03:41 +0800 Subject: [PATCH] docs: add-mark-area-docs --- docs/assets/option/en/component/mark-area.md | 11 +++++++++++ docs/assets/option/zh/component/mark-area.md | 9 +++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/assets/option/en/component/mark-area.md b/docs/assets/option/en/component/mark-area.md index 10a04b2ca3..f67164a03b 100644 --- a/docs/assets/option/en/component/mark-area.md +++ b/docs/assets/option/en/component/mark-area.md @@ -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 diff --git a/docs/assets/option/zh/component/mark-area.md b/docs/assets/option/zh/component/mark-area.md index d693cda7d3..bbf1b0a826 100644 --- a/docs/assets/option/zh/component/mark-area.md +++ b/docs/assets/option/zh/component/mark-area.md @@ -158,6 +158,15 @@ y 轴上的标注区域边界,与 markArea.y 共同构造标注区域。可以 - `'insideRight'`: 区域内部右侧 - `'insideTop'`: 区域内部上侧 - `'insideBottom'`: 区域内部下侧 + 自 1.13.4 版本支持: +- `'topLeft'`: 区域外侧左上侧, +- `'topRight'`: 区域外侧右上侧, +- `'bottomLeft'`: 区域外侧左下侧, +- `'bottomRight'`: 区域外侧右下侧, +- `'insideTopLeft'`: 区域内侧左上侧, +- `'insideTopRight'`: 区域内侧右上侧, +- `'insideBottomLeft'`: 区域内侧右上侧, +- `'insideBottomRight'`: 区域内侧右下侧 极坐标系下: