提交 | 用户 | 时间
|
820397
|
1 |
import * as echarts from 'echarts/core' |
H |
2 |
|
|
3 |
import { |
|
4 |
BarChart, |
|
5 |
FunnelChart, |
|
6 |
GaugeChart, |
|
7 |
LineChart, |
|
8 |
MapChart, |
|
9 |
PictorialBarChart, |
|
10 |
PieChart, |
|
11 |
RadarChart |
|
12 |
} from 'echarts/charts' |
|
13 |
|
|
14 |
import { |
|
15 |
AriaComponent, |
|
16 |
GridComponent, |
|
17 |
LegendComponent, |
|
18 |
ParallelComponent, |
|
19 |
PolarComponent, |
|
20 |
TitleComponent, |
|
21 |
ToolboxComponent, |
|
22 |
TooltipComponent, |
|
23 |
VisualMapComponent |
|
24 |
} from 'echarts/components' |
|
25 |
|
|
26 |
import { CanvasRenderer } from 'echarts/renderers' |
|
27 |
|
|
28 |
echarts.use([ |
|
29 |
LegendComponent, |
|
30 |
TitleComponent, |
|
31 |
TooltipComponent, |
|
32 |
ToolboxComponent, |
|
33 |
GridComponent, |
|
34 |
PolarComponent, |
|
35 |
AriaComponent, |
|
36 |
ParallelComponent, |
|
37 |
VisualMapComponent, |
|
38 |
BarChart, |
|
39 |
LineChart, |
|
40 |
PieChart, |
|
41 |
MapChart, |
|
42 |
CanvasRenderer, |
|
43 |
PictorialBarChart, |
|
44 |
RadarChart, |
|
45 |
GaugeChart, |
|
46 |
FunnelChart |
|
47 |
]) |
|
48 |
|
|
49 |
export default echarts |