add header for table

This commit is contained in:
imhele 2019-02-10 19:33:47 +08:00 committed by 偏右
parent 6c259808e1
commit 952510e040
2 changed files with 12 additions and 0 deletions

View File

@ -30,15 +30,21 @@ Properties that shared by all types.
### `type="line"`
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| strokeWidth | to set the width of the progress bar, unit: `px` | number | 10 |
### `type="circle"`
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| width | to set the canvas width of the circular progress, unit: `px` | number | 132 |
| strokeWidth | to set the width of the circular progress, unit: percentage of the canvas width | number | 6 |
### `type="dashboard"`
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| width | to set the canvas width of the dashboard progress, unit: `px` | number | 132 |
| strokeWidth | to set the width of the dashboard progress, unit: percentage of the canvas width | number | 6 |
| gapDegree | the gap degree of half circle, 0 ~ 360 | number | 0 |

View File

@ -31,15 +31,21 @@ title: Progress
### `type="line"`
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| strokeWidth | 进度条线的宽度,单位 px | number | 10 |
### `type="circle"`
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| width | 圆形进度条画布宽度,单位 px | number | 132 |
| strokeWidth | 圆形进度条线的宽度,单位是进度条画布宽度的百分比 | number | 6 |
### `type="dashboard"`
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| width | 仪表盘进度条画布宽度,单位 px | number | 132 |
| strokeWidth | 仪表盘进度条线的宽度,单位是进度条画布宽度的百分比 | number | 6 |
| gapDegree | 仪表盘进度条缺口角度,可取值 0 ~ 360 | number | 0 |