Skip to content

Commit

Permalink
feat(scatter): 散点图气泡图添加 slider 缩略轴 scrollbar 滚动条 配置 (#3064)
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 authored Jan 4, 2022
1 parent f0a8cc3 commit c867afb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plots/scatter/adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Params } from '../../core/adaptor';
import { flow, deepAssign, pick } from '../../utils';
import { point } from '../../adaptor/geometries';
import { brushInteraction } from '../../adaptor/brush';
import { interaction, animation, theme, scale, annotation } from '../../adaptor/common';
import { interaction, animation, theme, scale, annotation, slider, scrollbar } from '../../adaptor/common';
import { findGeometry, transformLabel } from '../../utils';
import { getQuadrantDefaultConfig, getPath, getMeta } from './util';
import { ScatterOptions } from './types';
Expand Down Expand Up @@ -327,6 +327,8 @@ export function adaptor(params: Params<ScatterOptions>) {
label,
// 需要在 interaction 前面
brushInteraction,
slider,
scrollbar,
interaction,
scatterAnnotation,
animation,
Expand Down

0 comments on commit c867afb

Please sign in to comment.