mirror of
https://github.com/xiangshu233/vue3-vant4-mobile.git
synced 2025-04-06 03:57:47 +08:00
58 lines
962 B
TypeScript
58 lines
962 B
TypeScript
import * as echarts from 'echarts/core'
|
|
|
|
import {
|
|
BarChart,
|
|
GaugeChart,
|
|
LineChart,
|
|
MapChart,
|
|
PictorialBarChart,
|
|
PieChart,
|
|
RadarChart,
|
|
} from 'echarts/charts'
|
|
|
|
import {
|
|
AriaComponent,
|
|
CalendarComponent,
|
|
DataZoomComponent,
|
|
GridComponent,
|
|
LegendComponent,
|
|
MarkLineComponent,
|
|
ParallelComponent,
|
|
PolarComponent,
|
|
RadarComponent,
|
|
TimelineComponent,
|
|
TitleComponent,
|
|
ToolboxComponent,
|
|
TooltipComponent,
|
|
VisualMapComponent,
|
|
} from 'echarts/components'
|
|
|
|
import { SVGRenderer } from 'echarts/renderers'
|
|
|
|
echarts.use([
|
|
LegendComponent,
|
|
TitleComponent,
|
|
TooltipComponent,
|
|
GridComponent,
|
|
PolarComponent,
|
|
AriaComponent,
|
|
ParallelComponent,
|
|
BarChart,
|
|
LineChart,
|
|
PieChart,
|
|
MapChart,
|
|
RadarChart,
|
|
GaugeChart,
|
|
SVGRenderer,
|
|
PictorialBarChart,
|
|
RadarComponent,
|
|
ToolboxComponent,
|
|
DataZoomComponent,
|
|
VisualMapComponent,
|
|
TimelineComponent,
|
|
CalendarComponent,
|
|
MarkLineComponent,
|
|
])
|
|
|
|
export default echarts
|