File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6161 threshold?: number
6262 format ?: (value : number | string ) => string
6363 }
64- zoomAnchor ?: { main?: ' cursor_point ' | ' last_bar' , xAxis?: ' cursor_point ' | ' last_bar' }
64+ zoomAnchor ?: ' cursor ' | ' last_bar ' | { main?: ' cursor ' | ' last_bar' , xAxis?: ' cursor ' | ' last_bar' }
6565 }
6666) => Chart
6767```
Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ chart.setDataLoader({
1616 }
1717} )
1818
19- const anchor = chart . zoomAnchor ( )
19+ const anchor = chart . getZoomAnchor ( )
20+ console . log ( anchor )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ import Tip from '../../../@components/Tip.vue'
6565 - ` decimalFold ` Decimal 0 folds the configuration.
6666 - ` threshold ` Fold threshold.
6767 - ` format ` Custom formatting method.
68- - ` zoomAnchor ` Set the anchor position when zooming the chart to ` last_bar ` or ` cursor_point `
68+ - ` zoomAnchor ` Set the anchor position when zooming the chart to ` last_bar ` or ` cursor `
6969
7070### Returns {#returns}
7171` init ` returns an object ` Chart ` 。
You can’t perform that action at this time.
0 commit comments