line.js 653 字节
Newer Older
S
sushuang 已提交
1
import * as echarts from '../echarts';
S
sushuang 已提交
2
import * as zrUtil from 'zrender/core/util';
L
lang 已提交
3

S
sushuang 已提交
4 5 6 7 8
import './line/LineSeries';
import './line/LineView';
import visualSymbol from '../visual/symbol';
import layoutPoints from '../layout/points';
import dataSample from '../processor/dataSample';
L
tweak  
lang 已提交
9

S
sushuang 已提交
10 11
// In case developer forget to include grid component
import '../component/gridSimple';
L
lang 已提交
12

S
sushuang 已提交
13 14 15 16 17 18
echarts.registerVisual(zrUtil.curry(
    visualSymbol, 'line', 'circle', 'line'
));
echarts.registerLayout(zrUtil.curry(
    layoutPoints, 'line'
));
L
lang 已提交
19

S
sushuang 已提交
20 21 22 23
// Down sample after filter
echarts.registerProcessor(echarts.PRIORITY.PROCESSOR.STATISTIC, zrUtil.curry(
    dataSample, 'line'
));