Docs/Charts/RadarChart

RadarChart

RadarChart is the polar container for Radar series. It owns the chart's layout, scales, and interaction state; children like PolarAngleAxis, PolarRadiusAxis and Radar register themselves into it.

import { RadarChart, Radar, PolarGrid, PolarAngleAxis, PolarRadiusAxis } from "solid-recharts";

<RadarChart data={data} width={500} height={300}>
  <PolarGrid strokeDasharray="3 3" />
  <PolarAngleAxis dataKey="subject" />
  <PolarRadiusAxis />
  <Radar dataKey="value" stroke="#8884d8" fill="#8884d8" />
</RadarChart>;
RadarChart
radar-basic.tsxOpen ↗
Loading source...

Props

PropTypeDefaultDescription
dataobject[]—Source data array, one entry per angle position
width, heightnumber—Fixed size (omit when inside ResponsiveContainer)
margin{ top, right, bottom, left }{ 5, 5, 5, 5 }Space around the plot area
syncIdstring—Sync tooltip across charts sharing the id
cx, cynumber | string"50%"Center position of the radar
startAngle, endAnglenumber90, -270Angle range swept by the radar
onClick, onMouseMove, …function—Chart-level mouse events with the active payload

All other recharts RadarChart props are supported; see the recharts RadarChart docs for the full matrix.

Notes

  • The default layout is "centric", positioning the radar at the chart center.
  • Multiple Radar children render overlaid on the same polar grid.
  • Use PolarAngleAxis and PolarRadiusAxis to label the angle and radius dimensions.

See also