1.0.6 • Published 7 months ago
tr-dashboard-echarts v1.0.6
一、使用方法: 安装:
npm i tr-dashboard-echarts
二在mian.js中导入:
import trDashboardEcharts from "tr-dashboard-echarts"
Vue.use(trDashboardEcharts)
三、在html中使用
<trDashboardEcharts
ref="trDashboardEcharts"
:defaultData="data"
:defaultType="type"
:defaultSearch="search"
/>
四、可配置属性参数
配置属性 | 类型 | 作用 |
---|---|---|
defaultData | Array | 默认数据 |
defaultType | String | 图表类型:table、line、bar、area、treemap、gauge |
defaultSearch | String | 搜索的关键语句 |
五、可使用的方法