DocumentationNuxt Charts v3

Radar Chart

Learn how to implement and customize Radar Charts in your Nuxt application.

The RadarChart component plots several series across shared spokes, making it ideal for comparing multi-dimensional profiles such as product feature scores or skill assessments. New in v3.

Basic Usage

Props

PropTypeDefaultDescription
dataT[]RequiredArray of rows. Each row is one spoke (angle-axis entry).
heightnumberRequiredHeight of the chart in pixels.
dataKeykeyof TRequiredRow field used for the angle-axis (spoke) labels.
categoriesRecord<string, BulletLegendItemInterface>RequiredMaps each numeric series key to its name and color.
fillOpacitynumber0.6Fill opacity of each radar polygon.
angleFormatter(value: unknown, index: number) => stringundefinedFormats the angle-axis (spoke) labels.
tooltipTitleFormatter(data: T) => string | numberundefinedCustom formatter for tooltip titles.
hideLegendbooleanfalseIf true, hides the chart legend.
hideTooltipbooleanfalseIf true, hides the tooltip.
hideRadiusAxisbooleanfalseIf true, hides the radius (value) axis.
legendPositionLegendPositionundefinedPosition of the legend.
legendStyleRecord<string, string>undefinedOptional inline CSS styles for the legend container.
tooltipTooltipConfigundefinedTooltip configuration.
durationnumberundefinedAnimation duration in milliseconds.

Data Format

Each object is one spoke of the radar. The dataKey field labels the spoke and every key referenced in categories is plotted as one overlaid polygon.

types.ts
interface RadarChartData {
  metric: string;
  [seriesKey: string]: string | number;
}