vben
authored
|
1
2
|
import * as echarts from 'echarts/core';
|
Vben
authored
|
3
4
5
6
7
8
9
10
|
import {
BarChart,
LineChart,
PieChart,
MapChart,
PictorialBarChart,
RadarChart,
} from 'echarts/charts';
|
vben
authored
|
11
12
13
14
15
16
17
18
|
import {
TitleComponent,
TooltipComponent,
GridComponent,
PolarComponent,
AriaComponent,
ParallelComponent,
|
Vben
authored
|
19
|
LegendComponent,
|
Vben
authored
|
20
|
RadarComponent,
|
Vben
authored
|
21
22
23
24
25
|
ToolboxComponent,
DataZoomComponent,
VisualMapComponent,
TimelineComponent,
CalendarComponent,
|
|
26
|
GraphicComponent,
|
vben
authored
|
27
28
29
30
31
|
} from 'echarts/components';
import { SVGRenderer } from 'echarts/renderers';
echarts.use([
|
Vben
authored
|
32
|
LegendComponent,
|
vben
authored
|
33
34
35
36
37
38
39
40
41
42
|
TitleComponent,
TooltipComponent,
GridComponent,
PolarComponent,
AriaComponent,
ParallelComponent,
BarChart,
LineChart,
PieChart,
MapChart,
|
Vben
authored
|
43
|
RadarChart,
|
vben
authored
|
44
45
|
SVGRenderer,
PictorialBarChart,
|
Vben
authored
|
46
|
RadarComponent,
|
Vben
authored
|
47
48
49
50
51
|
ToolboxComponent,
DataZoomComponent,
VisualMapComponent,
TimelineComponent,
CalendarComponent,
|
|
52
|
GraphicComponent,
|
vben
authored
|
53
54
55
|
]);
export default echarts;
|