mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-09 00:42:42 +08:00
42 lines
649 B
TypeScript
42 lines
649 B
TypeScript
![]() |
import * as echarts from 'echarts/core'
|
||
|
|
||
|
import {
|
||
|
BarChart,
|
||
|
LineChart,
|
||
|
PieChart,
|
||
|
MapChart,
|
||
|
PictorialBarChart,
|
||
|
RadarChart
|
||
|
} from 'echarts/charts'
|
||
|
|
||
|
import {
|
||
|
TitleComponent,
|
||
|
TooltipComponent,
|
||
|
GridComponent,
|
||
|
PolarComponent,
|
||
|
AriaComponent,
|
||
|
ParallelComponent,
|
||
|
LegendComponent
|
||
|
} from 'echarts/components'
|
||
|
|
||
|
import { CanvasRenderer } from 'echarts/renderers'
|
||
|
|
||
|
echarts.use([
|
||
|
LegendComponent,
|
||
|
TitleComponent,
|
||
|
TooltipComponent,
|
||
|
GridComponent,
|
||
|
PolarComponent,
|
||
|
AriaComponent,
|
||
|
ParallelComponent,
|
||
|
BarChart,
|
||
|
LineChart,
|
||
|
PieChart,
|
||
|
MapChart,
|
||
|
CanvasRenderer,
|
||
|
PictorialBarChart,
|
||
|
RadarChart
|
||
|
])
|
||
|
|
||
|
export default echarts
|