跳到主要内容

radar-chart

<data-view.radar-chart>

雷达图构件

Examples

Basic

Playground

Properties

NameDescriptionTypeDefaultRequired
dataSourceData[]
widthnumber
radiusnumber
scalenumber 0.25
heightnumber
valuenumber | string
dataFillDataFill
dataCircleDataCircle
dataLineDataLine

Type references

Data

NameTypeRequiredDescription
valuenumber
maxValuenumber
namestring
colorColor
percentValuenumber | string

DataFill

NameTypeRequiredDescription
fillStyleColor

DataCircleOptions

extends DataLineOptions
NameTypeRequiredDescription
rnumber
fillStyleColor

DataLineOptions

NameTypeRequiredDescription
dataPointsAxis[]
strokeStyleColor
lineWidthnumber

Axis

NameTypeRequiredDescription
xnumber
ynumber

DataLine

NameTypeRequiredDescription
lineWidthnumber
strokeStyleColor

Color

React.CSSProperties["color"]

DataCircle

Omit<DataCircleOptions, "dataPoints">