You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
717 B
46 lines
717 B
1 year ago
|
import * as echarts from 'echarts/core'
|
||
|
|
||
|
import {
|
||
|
BarChart,
|
||
|
LineChart,
|
||
|
PieChart,
|
||
|
MapChart,
|
||
|
PictorialBarChart,
|
||
|
RadarChart,
|
||
|
GaugeChart
|
||
|
} from 'echarts/charts'
|
||
|
|
||
|
import {
|
||
|
TitleComponent,
|
||
|
TooltipComponent,
|
||
|
GridComponent,
|
||
|
PolarComponent,
|
||
|
AriaComponent,
|
||
|
ParallelComponent,
|
||
|
LegendComponent,
|
||
|
ToolboxComponent
|
||
|
} from 'echarts/components'
|
||
|
|
||
|
import { CanvasRenderer } from 'echarts/renderers'
|
||
|
|
||
|
echarts.use([
|
||
|
LegendComponent,
|
||
|
TitleComponent,
|
||
|
TooltipComponent,
|
||
|
ToolboxComponent,
|
||
|
GridComponent,
|
||
|
PolarComponent,
|
||
|
AriaComponent,
|
||
|
ParallelComponent,
|
||
|
BarChart,
|
||
|
LineChart,
|
||
|
PieChart,
|
||
|
MapChart,
|
||
|
CanvasRenderer,
|
||
|
PictorialBarChart,
|
||
|
RadarChart,
|
||
|
GaugeChart
|
||
|
])
|
||
|
|
||
|
export default echarts
|