Skip to content

Commit c867afb

Browse files
authored
feat(scatter): 散点图气泡图添加 slider 缩略轴 scrollbar 滚动条 配置 (#3064)
Co-authored-by: ai-qing-hai <[email protected]>
1 parent f0a8cc3 commit c867afb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plots/scatter/adaptor.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Params } from '../../core/adaptor';
33
import { flow, deepAssign, pick } from '../../utils';
44
import { point } from '../../adaptor/geometries';
55
import { brushInteraction } from '../../adaptor/brush';
6-
import { interaction, animation, theme, scale, annotation } from '../../adaptor/common';
6+
import { interaction, animation, theme, scale, annotation, slider, scrollbar } from '../../adaptor/common';
77
import { findGeometry, transformLabel } from '../../utils';
88
import { getQuadrantDefaultConfig, getPath, getMeta } from './util';
99
import { ScatterOptions } from './types';
@@ -327,6 +327,8 @@ export function adaptor(params: Params<ScatterOptions>) {
327327
label,
328328
// 需要在 interaction 前面
329329
brushInteraction,
330+
slider,
331+
scrollbar,
330332
interaction,
331333
scatterAnnotation,
332334
animation,

0 commit comments

Comments
 (0)