Radar Chart for Angular
Introduction
Section titled “Introduction”Accessible SVG radar (polar) chart comparing a few series across several quantitative axes arranged clockwise around a circle: each series is a closed, optionally filled polygon with a focusable vertex per axis on a shared radial scale, a legend of toggle buttons, tooltips, a generated summary, and a data table fallback.
- Compare profilesOne closed polygon per series across several axes, with optional fill.
- Keyboard verticesLeft and Right move around the axes, Up and Down between series.
- Legend togglesLegend buttons show and hide series.
- Data table fallbackA generated summary and a table with one row per axis.
- Not color aloneMarker shapes and dash patterns as non-color cues.
Behavior, design tokens, and limitations are described on the Radar Chart page; this page covers the Angular API.
Live example
Section titled “Live example”import { Component } from '@angular/core';import { AuiRadarChart } from '@absoluteui/angular/radar-chart';import type { ChartSeries } from '@absoluteui/components/radar-chart';
@Component({ selector: 'app-skills', imports: [AuiRadarChart], template: `<aui-radar-chart label="Skills" [axes]="axes" [series]="series"></aui-radar-chart>`,})export class SkillsComponent { readonly axes = ['Speed', 'Power', 'Range', 'Armor']; readonly series: ChartSeries[] = [{ id: 'a', label: 'Alpha', values: [3, 5, 2, 4] }, { id: 'b', label: 'Beta', values: [4, 2, 5, 1] }];}Install and start
Section titled “Install and start”npm install @absoluteui/angular @absoluteui/components @absoluteui/core @absoluteui/themeSetup with provideAbsoluteUI() is covered in Getting started. Styles are included with the component.
import { AuiRadarChart } from '@absoluteui/angular/radar-chart';Defaults for every instance: provideAbsoluteUIConfig({ components: { radarChart: { ... } } }) (see Configuration).
API reference
Section titled “API reference”<aui-radar-chart>
Section titled “<aui-radar-chart>”Class AuiRadarChart; template reference #ref="auiRadarChart".
Server rendering: Renders on the server; the browser re-creates it after hydration.
Inputs
Section titled “Inputs”| Input | Type | Default | Description |
|---|---|---|---|
label |
string |
Required. Chart title: visible text and the accessible name of the plot (aria-labelledby); also the data table caption. | |
hideLabel |
boolean |
false |
Visually hide the title; it stays the accessible name. |
description |
string |
Visible description below the title, also referenced by aria-describedby (text only). | |
summary |
string |
Replaces the generated accessible summary (axes, scale, each series’ highest and lowest axis, hidden series). | |
valueFormat |
NumberFormatOptions |
Number format for values in tooltips, vertex labels, the data table, the summary, and ring ticks (ticks use fixed fraction digits). | |
formatValue |
(value: number) => string |
Custom value text; overrides valueFormat everywhere except ring ticks. | |
axes |
readonly string[] |
Required. Axis names, clockwise from the top. At least three. | |
series |
readonly ChartSeries[] |
Required. Series: { id, label, values: (number | null)[], color?: 1-8 } with exactly one value per axis. null, NaN, and infinities are drawn at the center and read “No value”. | |
valueAxis |
ValueAxisInput |
Shared radial scale { min?, max?, tickCount? (2-20, default 4 rings) }. min defaults to 0, or the data minimum when negative; max to the data maximum; nice-rounded unless min or max is fixed. label and includeZero are validated but not used by the radar chart. | |
theme |
ChartTheme |
Look and feel: { palette?: string[] (1-8 CSS colors for slots 1-8); fontFamily?; fontSize? (8-32 px); textColor?; gridLines?: boolean; gridColor?; gridDash? (“4 2” or “none”); axisColor?; lineWidth? (0.5-12 px); markerSize? (1-20 px); cornerRadius?, barRadius?, cellRadius?, sliceRadius?, boxRadius? (0-50 px); swatchRadius? (0-8 px); tooltipRadius?, controlRadius? (0-50 px); lineJoin?: ‘round’ | ‘miter’ | ‘bevel’; areaOpacity? (0-1); gradient?: boolean; valueLabelColor?; tooltip?: { background?, color?, borderColor? }; legendPosition?: ‘top’ | ‘bottom’ | ‘start’ | ‘end’; animation?: boolean | { duration?: number (0-5000 ms) } }. Applied as –aui-chart-* custom properties and classes on the host through the CSSOM (CSP-safe); colors are validated with CSS.supports(‘color’). Animation is opt-in and never runs with prefers-reduced-motion: reduce or [data-aui-animation=‘none’]. | |
renderTooltip |
ChartTooltipRenderer |
Custom tooltip content as DOM nodes (never HTML strings). context: { title, rows: { label, value, seriesId }[], column, row, source: “pointer” | “focus” | “sync” }. Return null for the default tooltip. The tooltip stays aria-hidden; the focused mark keeps its accessible label. | |
syncGroup |
string |
Synchronized crosshair: charts with the same group show the crosshair, highlight, and tooltip at the same column (category or x index) when one of them is hovered or focused. Focus never moves between charts. Use charts that share their categories or x values. | |
legend |
ChartLegendMode |
'auto' |
auto: legend of toggle buttons when there is more than one series. |
dataTable |
ChartTableMode |
'toggle' |
Data table fallback (one row per axis, one column per series): behind a Show data table button (built on first open), always visible, visually hidden (screen readers only), or none. |
tooltip |
boolean |
true |
Tooltip on pointer hover and keyboard focus. |
patterns |
boolean |
false |
Dash patterns on the polygon outlines so series never differ by color alone (always on in forced colors); marker shapes differ regardless. |
height |
number |
'300' |
Plot height in CSS px (integer 120-2000); the width follows the container. |
fill |
boolean |
true |
Fill each polygon with a translucent (12%) series color; the outline and vertices carry the data. |
locale |
string |
'en-US' |
Number and message locale. |
direction |
Direction |
'ltr' |
Axes keep clockwise order in RTL (like pie charts); rtl swaps ArrowLeft/ArrowRight so forward follows the reading direction. |
Two-way bindings
Section titled “Two-way bindings”| Model | Type | Change output | Description |
|---|---|---|---|
[(hiddenSeries)] |
readonly string[] |
(hiddenSeriesChange) |
Ids of series hidden initially; update() replaces the hidden set. |
Outputs
Section titled “Outputs”| Output | Payload | Description |
|---|---|---|
(seriesToggled) |
ChartSeriesToggleDetail |
The user toggled a legend entry (pointer or keyboard). Not emitted for update() or setSeriesVisible(). Re-emits aui-series-toggle. |
(pointClicked) |
ChartPointClickDetail |
A data mark was activated: pointer click or tap, or Enter / Space on the focused mark. label is the category, x value, or item; value is the formatted value text. Keyboard navigation is unchanged. Re-emits aui-point-click. |
Methods
Section titled “Methods”Call them through a viewChild query or a template reference.
| Method | Description |
|---|---|
setSeriesVisible(id: string, visible: boolean): void |
Show or hide a series programmatically; emits no event. |
Accessibility and performance
Section titled “Accessibility and performance”Pattern: SVG radar chart as a named, described group (role=“group” with aria-roledescription “radar chart”) of role=“img” vertices with two-dimensional roving focus (around the axes, between series); legend of toggle buttons; data table fallback with one row per axis.
The Angular component renders the framework-neutral component, so its keyboard support, roles, WCAG 2.2 criteria, budgets, and import cost apply unchanged: see Radar Chart: Accessibility and performance.
(c) 2026 Kasadara Technology Solutions Pvt Ltd. AbsoluteUI is free to use under the AbsoluteUI Free Use License; it is not open source.