suiss/uim · Chart

Radar Chart Lines Only

A radar chart comparing two months as outlines with no fill.

Radar Chart Lines Only is an open-source mobile chart from suiss/uim, drawn with react-native-svg for React Native and Expo, with SwiftUI and Jetpack Compose versions built from the same design tokens. The @esuiss/uim CLI copies its source into your project, so you own the code.

iOS
Radar (lines only) on iOS in light mode

A RadarChart with two Radar series drawn with fillOpacity={0}, so only the outlines show. chartData has one record per axis (skill) with thisMonth and lastMonth scores. Pressing the chart shows a tooltip with both values.

Installation

$ pnpm dlx @esuiss/uim@latest add radar-chart-lines-only

The CLI also adds what it builds on: Card, Chart.

Manual

  1. Add the pieces it builds on: Card, Chart.

  2. Copy the source into components/charts/radar-chart-lines-only.tsx:

uniwind/components/charts/radar-chart-lines-only.tsx
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
import {
  type ChartConfig,
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
  PolarAngleAxis,
  PolarGrid,
  Radar,
  RadarChart,
  1. Update the import paths to match your project.

Usage

import { RadarChartLinesOnly } from "@/components/charts/radar-chart-lines-only"
<RadarChartLinesOnly />

Replace chartData with your records, set PolarAngleAxis dataKey to your axis field, and rename the series in chartConfig. The component takes no props.