|
|
@ -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 | |
|
|
|