@baishan/chart-line
v0.0.3
Published
dashboard-fe chart
Downloads
12
Readme
chart
@baishan-fe/chart
dashboard-fe chart
API
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ---- | ---- | ------ | ---- | | id | id | true | string | | | | option | 图表配置 | true | object | undefined | | | style | style | false | object | | | | width | number | false | number | | | | height | number | false | number | | | | loading | boolean | false | false | | | | init | function | false | function | (chart: echarts.ECharts) => void | | | refreshClear | boolean | false | boolean | false | | | afterSetOption | 设置完配置之后触发 | false | function | () => void | |