fix: import FunnelChart from echarts

This commit is contained in:
puhui999 2024-04-24 23:28:09 +08:00
parent 6ff31b90c7
commit 9a36d9d663

View File

@ -2,23 +2,24 @@ import * as echarts from 'echarts/core'
import { import {
BarChart, BarChart,
FunnelChart,
GaugeChart,
LineChart, LineChart,
PieChart,
MapChart, MapChart,
PictorialBarChart, PictorialBarChart,
RadarChart, PieChart,
GaugeChart RadarChart
} from 'echarts/charts' } from 'echarts/charts'
import { import {
TitleComponent,
TooltipComponent,
GridComponent,
PolarComponent,
AriaComponent, AriaComponent,
ParallelComponent, GridComponent,
LegendComponent, LegendComponent,
ParallelComponent,
PolarComponent,
TitleComponent,
ToolboxComponent, ToolboxComponent,
TooltipComponent,
VisualMapComponent VisualMapComponent
} from 'echarts/components' } from 'echarts/components'
@ -41,7 +42,8 @@ echarts.use([
CanvasRenderer, CanvasRenderer,
PictorialBarChart, PictorialBarChart,
RadarChart, RadarChart,
GaugeChart GaugeChart,
FunnelChart
]) ])
export default echarts export default echarts