admin-vben/packages/effects/plugins/src/echarts
xingyu4j a653e428f3 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-04-13 16:45:32 +08:00
..
map fix: lint 2026-01-28 15:24:55 +08:00
README.md refactor: 重构 ECharts 插件类型定义和导出结构 2026-03-25 13:27:02 +08:00
echarts-ui.vue refactor: package chart-ui integrated into plugins (#4238) 2024-08-26 21:42:56 +08:00
echarts.ts Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2026-04-13 16:45:32 +08:00
index.ts chore: fix lint 2026-03-25 17:31:33 +08:00
types.ts chore: fix lint 2026-03-25 17:31:33 +08:00
use-echarts.ts Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into vite8 2026-03-23 16:55:27 +08:00

README.md

ECharts Plugin

ECharts 图表插件,预置常用组件和图表类型。

导出

导出 类型 说明
default 对象 echarts 实例
EchartsUI 组件 图表容器组件
ECOption 类型 图表配置类型
useEcharts 函数 组合式函数

使用

import { EchartsUI, useEcharts, ECOption } from '@vben/plugins/echarts';

类型

import type { ECOption } from '@vben/plugins/echarts';

预置组件

  • TitleComponent
  • TooltipComponent
  • GridComponent
  • LegendComponent
  • ToolboxComponent
  • DatasetComponent
  • TransformComponent

预置图表

  • BarChart
  • LineChart
  • PieChart
  • RadarChart