Skip to content

Commit fecd1e3

Browse files
authored
fix(box): 箱型图 添加 annotation 配置 (#3317)
Co-authored-by: ai-qing-hai <[email protected]>
1 parent e3a2ed8 commit fecd1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/box/adaptor.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { isArray } from '@antv/util';
22
import { Types } from '@antv/g2';
33
import { Params } from '../../core/adaptor';
4-
import { interaction, animation, theme, tooltip } from '../../adaptor/common';
4+
import { interaction, animation, theme, tooltip, annotation } from '../../adaptor/common';
55
import { point, schema } from '../../adaptor/geometries';
66
import { flow, pick, deepAssign } from '../../utils';
77
import { AXIS_META_CONFIG_KEYS } from '../../constant';
@@ -167,5 +167,5 @@ export function legend(params: Params<BoxOptions>): Params<BoxOptions> {
167167
* @param params
168168
*/
169169
export function adaptor(params: Params<BoxOptions>) {
170-
return flow(field, outliersPoint, meta, axis, legend, tooltip, interaction, animation, theme)(params);
170+
return flow(field, outliersPoint, meta, axis, legend, tooltip, annotation(), interaction, animation, theme)(params);
171171
}

0 commit comments

Comments
 (0)