Skip to content

Commit 9a36d9d

Browse files
author
puhui999
committed
fix: import FunnelChart from echarts
1 parent 6ff31b9 commit 9a36d9d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/plugins/echarts/index.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@ import * as echarts from 'echarts/core'
22

33
import {
44
BarChart,
5+
FunnelChart,
6+
GaugeChart,
57
LineChart,
6-
PieChart,
78
MapChart,
89
PictorialBarChart,
9-
RadarChart,
10-
GaugeChart
10+
PieChart,
11+
RadarChart
1112
} from 'echarts/charts'
1213

1314
import {
14-
TitleComponent,
15-
TooltipComponent,
16-
GridComponent,
17-
PolarComponent,
1815
AriaComponent,
19-
ParallelComponent,
16+
GridComponent,
2017
LegendComponent,
18+
ParallelComponent,
19+
PolarComponent,
20+
TitleComponent,
2121
ToolboxComponent,
22+
TooltipComponent,
2223
VisualMapComponent
2324
} from 'echarts/components'
2425

@@ -41,7 +42,8 @@ echarts.use([
4142
CanvasRenderer,
4243
PictorialBarChart,
4344
RadarChart,
44-
GaugeChart
45+
GaugeChart,
46+
FunnelChart
4547
])
4648

4749
export default echarts

0 commit comments

Comments
 (0)