[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationRadar chart

Radar chart

Several measures of a few items on spokes, one polygon per series.

ChartRadar draws one polygon per series over spokes, one spoke per measure. Use it to compare a few items on several measures, such as plans by feature or teams by skill. It draws its own polygon grid, not the horizontal grid lines of the axis charts.

Radar Chart ChartRadar
Connecting to the DMS preview…
Connecting DMS 0.25.8 5 options set

Usage

src/pages/dashboard.ts ts
import { ChartRadar } from "@antelopejs/interface-dms/base/chart";

static plans = ChartRadar({
  title: "$saas.plans.comparison",
  fetchUrl: "/api/saas/plans/radar",
  fillOpacity: 0.25,
});

The route answers { series } in the shape listed under Data shapes. Wrap the chart in a ChartCard to add a headline value and a comparison.

Options

Options of the Radar Chart block
OptionTypeDefaultDescription
title Contentstring–
description Contentstring–
color Appearancestring | string[]–
height Appearancestring–
width Appearancenumber–
showTooltip Appearancebooleantrue
showLegend Appearancebooleantrue
legendPosition Appearance"top" | "bottom"–
showGrid Appearancebooleantrue
yRange.min* Appearancenumber–
yRange.max* Appearancenumber–
comparisonStyle Appearance"dashed" | "solid" | "dimmed"–
smooth Appearancebooleantrue
curve Appearance"smooth" | "straight" | "stepline"–
xaxisType Appearance"category" | "datetime" | "numeric"–
fillOpacity Appearancenumber–

Recipes

Keep it to a few series

Beyond three or four polygons the radar stops reading. Split the comparison, or use a column chart.

Next steps

Charts

Colors, annotations, events and the other chart types.

Chart card

Frame the chart with its headline value.