Skip to content

Commit 2f5b0e8

Browse files
authored
feat(gauge): 仪表盘支持 annotations (#2345)
1 parent 90a8592 commit 2f5b0e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plots/gauge/adaptor.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { isString } from '@antv/util';
2-
import { interaction, animation, theme, scale } from '../../adaptor/common';
2+
import { interaction, animation, theme, scale, annotation } from '../../adaptor/common';
33
import { AXIS_META_CONFIG_KEYS } from '../../constant';
44
import { Params } from '../../core/adaptor';
55
import { Data } from '../../types';
@@ -198,6 +198,7 @@ export function adaptor(params: Params<GaugeOptions>) {
198198
theme,
199199
// meterView 需要放到主题之后
200200
meterView,
201+
annotation(),
201202
other
202203
// ... 其他的 adaptor flow
203204
)(params);

0 commit comments

Comments
 (0)