Skip to content

Commit

Permalink
fix(box): 箱型图 添加 annotation 配置 (#3317)
Browse files Browse the repository at this point in the history
Co-authored-by: ai-qing-hai <wb-xcf804241@antgroup.com>
  • Loading branch information
ai-qing-hai and ai-qing-hai committed Aug 22, 2022
1 parent e3a2ed8 commit fecd1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plots/box/adaptor.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isArray } from '@antv/util';
import { Types } from '@antv/g2';
import { Params } from '../../core/adaptor';
import { interaction, animation, theme, tooltip } from '../../adaptor/common';
import { interaction, animation, theme, tooltip, annotation } from '../../adaptor/common';
import { point, schema } from '../../adaptor/geometries';
import { flow, pick, deepAssign } from '../../utils';
import { AXIS_META_CONFIG_KEYS } from '../../constant';
Expand Down Expand Up @@ -167,5 +167,5 @@ export function legend(params: Params<BoxOptions>): Params<BoxOptions> {
* @param params
*/
export function adaptor(params: Params<BoxOptions>) {
return flow(field, outliersPoint, meta, axis, legend, tooltip, interaction, animation, theme)(params);
return flow(field, outliersPoint, meta, axis, legend, tooltip, annotation(), interaction, animation, theme)(params);
}

0 comments on commit fecd1e3

Please sign in to comment.