雷达图构件
Examples
Basic
Properties
Name | Description | Type | Default | Required |
---|
dataSource | | Data[] | | ✅ |
width | | number | | ✅ |
radius | | number | | ✅ |
scale | | number | 0.25 | ✅ |
height | | number | | ✅ |
value | | number | string | | ✅ |
dataFill | | DataFill | | ✅ |
dataCircle | | DataCircle | | ✅ |
dataLine | | DataLine | | ✅ |
Type references
Data
Name | Type | Required | Description |
---|
value | number | ✅ | |
maxValue | number | ✅ | |
name | string | | |
color | Color | | |
percentValue | number | string | | |
DataFill
Name | Type | Required | Description |
---|
fillStyle | Color | | |
DataCircleOptions
extends DataLineOptions
Name | Type | Required | Description |
---|
r | number | | |
fillStyle | Color | | |
DataLineOptions
Name | Type | Required | Description |
---|
dataPoints | Axis[] | ✅ | |
strokeStyle | Color | | |
lineWidth | number | | |
Axis
Name | Type | Required | Description |
---|
x | number | ✅ | |
y | number | ✅ | |
DataLine
Name | Type | Required | Description |
---|
lineWidth | number | | |
strokeStyle | Color | | |
Color
React.CSSProperties["color"]
DataCircle
Omit<DataCircleOptions, "dataPoints">