suiss/ui · Chart
Radar Chart Legend
Two overlapping radar shapes with a legend beneath that names each series.
Radar Chart Legend is an open-source chart from suiss/ui for React, React Native, SwiftUI and Jetpack Compose. The @esuiss/ui CLI copies its source into your project, so you own the code.
Two overlapping radar shapes with a legend underneath naming each series. Pick it over the plain multiple-series chart when readers need to know which shape is which without hovering.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
- Install the dependencies:
-
Copy the source into
components/charts/radar-chart-legend.tsx:
- Update the import paths to match your project.
Usage
Replace chartData and rename the series keys in the data, both Radar elements and chartConfig; the legend reads labels and colors from the config. The series declared last is drawn on top.

A RadarChart with two filled Radar series and a ChartLegend that names them from chartConfig. chartData has one record per axis (skill) with thisMonth and lastMonth scores. Pressing the chart shows a tooltip with both values.
Installation
The CLI also adds what it builds on: Card, Chart.
Manual
-
Target iOS 17 or later.
-
Copy the theme files every view uses:
- Copy the source and every file it uses:
- Add the files to your app target.
- Set
minSdkto 24 or higher and add the dependencies:
- Copy the theme files every view uses:
- Copy the source and every file it uses:
- Update the
com.esuiss.uipackage names to match your project.
Usage
Replace chartData with your records, set PolarAngleAxis dataKey to your axis field, and rename the series in chartConfig. The component takes no props.
