Preview Updated 2026-05-10

Radar chart

Multi-dimensional comparison polygon chart with multi-series support.

Basic usage

Data is passed via props and rendered as pure SVG, with no third-party charting dependency. Colors are drawn from the --viz-1..8 tokens and are colorblind-friendly.

Demo source
src/App.vue vue
<CfRadarChart ... />
src/App.tsx tsx
<CfRadarChart ... />

Multi-series comparison

Compare three options across six dimensions, cycling through --viz-*.

Demo source
src/App.vue vue
<CfRadarChart :axes="axes" :series="threeSeries" />
src/App.tsx tsx
<CfRadarChart axes={axes} series={threeSeries} />

API

PropTypeDefaultDescription
axesstring[]Axis names
seriesRadarSeries[]{ name, values: number[], colorIndex? }[]
sizenumber240
maxnumberdata maxNormalization baseline

反馈与讨论

Radar chart · Discussion

0
0 / 600
一键发送
正在加载评论...