补充 chart 文档

This commit is contained in:
liaoxuezhi 2019-08-26 10:19:31 +08:00
parent 166f1b51a2
commit 9e67ac9c19
1 changed files with 13 additions and 12 deletions

View File

@ -3,7 +3,7 @@
图表渲染器,采用 echarts 渲染,配置格式跟 echarts 相同,[echarts配置文档](http://echarts.baidu.com/option.html#title) 图表渲染器,采用 echarts 渲染,配置格式跟 echarts 相同,[echarts配置文档](http://echarts.baidu.com/option.html#title)
| 属性名 | 类型 | 默认值 | 说明 | | 属性名 | 类型 | 默认值 | 说明 |
| --------- | --------------------------------- | --------- | ------------------------------------------------------------------ | |--------------------|-----------------------------------|-----------|--------------------------------------------------------------------|
| type | `string` | `"chart"` | 指定为 chart 渲染器 | | type | `string` | `"chart"` | 指定为 chart 渲染器 |
| className | `string` | | 外层 Dom 的类名 | | className | `string` | | 外层 Dom 的类名 |
| body | [Container](./Types.md#container) | | 内容容器 | | body | [Container](./Types.md#container) | | 内容容器 |
@ -14,6 +14,7 @@
| style | `object` | | 设置根元素的 style | | style | `object` | | 设置根元素的 style |
| width | `string` | | 设置根元素的宽度 | | width | `string` | | 设置根元素的宽度 |
| height | `string` | | 设置根元素的高度 | | height | `string` | | 设置根元素的高度 |
| replaceChartOption | `boolean` | `false` | 每次更新是完全覆盖配置项还是追加? |
```schema:height="350" scope="body" ```schema:height="350" scope="body"
{ {