From c867afb007a431a5529e35a56ab888fdec50e31f Mon Sep 17 00:00:00 2001 From: ai-qing-hai <65594180+ai-qing-hai@users.noreply.github.com> Date: Tue, 4 Jan 2022 19:53:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(scatter):=20=E6=95=A3=E7=82=B9=E5=9B=BE?= =?UTF-8?q?=E6=B0=94=E6=B3=A1=E5=9B=BE=E6=B7=BB=E5=8A=A0=20slider=20?= =?UTF-8?q?=E7=BC=A9=E7=95=A5=E8=BD=B4=20scrollbar=20=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=20=E9=85=8D=E7=BD=AE=20(#3064)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ai-qing-hai --- src/plots/scatter/adaptor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plots/scatter/adaptor.ts b/src/plots/scatter/adaptor.ts index 86e81f6663..4f1eb38e11 100644 --- a/src/plots/scatter/adaptor.ts +++ b/src/plots/scatter/adaptor.ts @@ -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'; @@ -327,6 +327,8 @@ export function adaptor(params: Params) { label, // 需要在 interaction 前面 brushInteraction, + slider, + scrollbar, interaction, scatterAnnotation, animation,