echarts/index.ts

yudao-ui-admin-vue3 · src/plugins/echarts/index.ts · typescript · MIT
ui, tag:embed-classified

ECharts plugin registering core components for use in Vue projects.

// Source: https://github.com/yudaocode/yudao-ui-admin-vue3 | License: MIT | Copyright 2021-present Archer
// Provided via justclaw.it.com; keep this notice with the code.
import * as echarts from 'echarts/core'

import {
  BarChart,
  FunnelChart,
  GaugeChart,
  LineChart,
  MapChart,
  PictorialBarChart,
  PieChart,
  RadarChart
} from 'echarts/charts'

import {
  AriaComponent,
  DataZoomComponent,
  GridComponent,
  LegendComponent,
  ParallelComponent,
  PolarComponent,
  TitleComponent,
  ToolboxComponent,
  TooltipComponent,
  VisualMapComponent
} from 'echarts/components'

import { CanvasRenderer } from 'echarts/renderers'

echarts.use([
  LegendComponent,
  TitleComponent,
  TooltipComponent,
  ToolboxComponent,
  DataZoomComponent,
  GridComponent,
  PolarComponent,
  AriaCompon

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key