Jin Mao 282a102826 chore: fix lint пре 2 месеци
..
README.md e5ec88169a refactor: 重构 ECharts 插件类型定义和导出结构 пре 2 месеци
echarts-ui.vue 8a0b1e0c72 refactor: package chart-ui integrated into plugins (#4238) пре 1 година
echarts.ts 417e6c2ade chore: fix lint && typecheck пре 2 месеци
index.ts 282a102826 chore: fix lint пре 2 месеци
types.ts 282a102826 chore: fix lint пре 2 месеци
use-echarts.ts e39a432210 Merge branch 'fork/caodachen/fix_useEcharts' пре 3 месеци

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