Skip to content

Commit aa01ce3

Browse files
authored
feat(line): 折线图支持 scrollbar (#3076)
* feat(legend): 增加图例 radio 正选的文档和demo * feat: 面积图、柱条形图、折线图、饼图、玫瑰图默认打开legend-radio * fix: 修复 ci 单测问题 * feat(line): 折线图支持 scrollbar
1 parent 2783866 commit aa01ce3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/plots/line/adaptor.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
import { Geometry } from '@antv/g2';
22
import { each, isArray } from '@antv/util';
33
import { Params } from '../../core/adaptor';
4-
import { tooltip, slider, interaction, animation, theme, scale, annotation, limitInPlot } from '../../adaptor/common';
4+
import {
5+
tooltip,
6+
slider,
7+
interaction,
8+
animation,
9+
theme,
10+
scale,
11+
annotation,
12+
limitInPlot,
13+
scrollbar,
14+
} from '../../adaptor/common';
515
import { findGeometry, transformLabel, deepAssign } from '../../utils';
616
import { point, line, area } from '../../adaptor/geometries';
717
import { flow } from '../../utils';
@@ -208,6 +218,7 @@ export function adaptor(params: Params<LineOptions>) {
208218
tooltip,
209219
label,
210220
slider,
221+
scrollbar,
211222
interaction,
212223
animation,
213224
annotation(),

0 commit comments

Comments
 (0)