Skip to content

Commit 3da0fdd

Browse files
committed
docs: update
1 parent 58dfabc commit 3da0fdd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/.vitepress/config/share.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ export function getInstanceApiMenus (lang = '') {
6767
{ text: 'removeOverlay', link: `${prefix}/removeOverlay` },
6868
{ text: 'setPaneOptions', link: `${prefix}/setPaneOptions` },
6969
{ text: 'getPaneOptions', link: `${prefix}/getPaneOptions` },
70-
{ text: 'setZoomEnabled', link: `${prefix}/setZoomEnabled` },
7170
{ text: 'setZoomAnchor', link: `${prefix}/setZoomAnchor` },
72-
{ text: 'isZoomEnabled', link: `${prefix}/isZoomEnabled` },
7371
{ text: 'getZoomAnchor', link: `${prefix}/getZoomAnchor` },
72+
{ text: 'setZoomEnabled', link: `${prefix}/setZoomEnabled` },
73+
{ text: 'isZoomEnabled', link: `${prefix}/isZoomEnabled` },
7474
{ text: 'setScrollEnabled', link: `${prefix}/setScrollEnabled` },
7575
{ text: 'isScrollEnabled', link: `${prefix}/isScrollEnabled` },
7676
{ text: 'scrollByDistance', link: `${prefix}/scrollByDistance` },

docs/api/instance/getZoomAnchor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ outline: deep
1212
`getZoomAnchor` 不接受任何参数。
1313

1414
### 返回值 {#returns}
15-
`getZoomAnchor` 回报 `ZoomAnchor`
15+
`getZoomAnchor` 返回对象 `ZoomAnchor`
1616

1717
## 用法 {#usage}
1818
<script setup>

docs/api/instance/setZoomAnchor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ outline: deep
99
<!--@include: @/@views/api/references/instance/setZoomAnchor.md-->
1010

1111
### 参数 {#parameters}
12-
- `anchor: ZoomAnchor` 主窗格和 x 轴窗格的缩放锚点类型。
12+
- `anchor`: 主窗格和 x 轴窗格的缩放锚点类型, 支持 `cursor``last_bar``{ main: 'cursor' | 'last_bar', xAxis: 'cursor' | 'last_bar' }`
1313

1414
### 返回值 {#returns}
15-
`setZoomAnchor` 返回 `void`
15+
`setZoomAnchor` 返回 `undefined`
1616

1717
## 用法 {#usage}
1818
<script setup>

docs/en-US/api/instance/setZoomAnchor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ outline: deep
99
<!--@include: @/@views/api/references/instance/setZoomAnchor.md-->
1010

1111
### Parameters {#parameters}
12-
- `anchor: ZoomAnchor` zoom anchor point type for main and xAxis pane.
12+
- `anchor: ZoomAnchor` zoom anchor point type for main and xAxis pane, supports `cursor``last_bar``{ main: 'cursor' | 'last_bar', xAxis: 'cursor' | 'last_bar' }`.
1313

1414
### Returns {#returns}
15-
`setZoomAnchor` returns `void` .
15+
`setZoomAnchor` returns `undefined` .
1616

1717
## Usage {#usage}
1818
<script setup>

0 commit comments

Comments
 (0)