Skip to content

Documentation / @ripl/charts / RadarChartOptions

Interface: RadarChartOptions<TData> ​

Defined in: charts/src/charts/radar.ts:103

Options for configuring a RadarChart.

Extends ​

Type Parameters ​

Type ParameterDefault type
TDataunknown

Properties ​

PropertyTypeDescriptionInherited fromDefined in
animation?boolean | Partial<ChartAnimationOptions>Animation configuration, or a boolean toggling all transitions. See ChartAnimationOptions.BaseChartOptions.animationcharts/src/core/chart.ts:128
autoRender?booleanWhether the chart renders automatically on construction and after every Chart.update. Defaults to true.BaseChartOptions.autoRendercharts/src/core/chart.ts:122
categoriesstring[]Axis labels arranged clockwise around the chart, one per data item.-charts/src/charts/radar.ts:109
dataTData[]The dataset, with one item per axis (in axis order).-charts/src/charts/radar.ts:105
description?stringAccessible description announced by screen readers (sets the rendering element's ARIA label). Defaults to the title text.BaseChartOptions.descriptioncharts/src/core/chart.ts:132
format?ValueFormatInputFormat applied to point values shown as text (e.g. tooltips).-charts/src/charts/radar.ts:117
labels?ChartDataLabelsInputShow each point's value beside its polygon vertex, offset outward along the vertex's angle (true/false or detailed label options). Off by default.-charts/src/charts/radar.ts:119
legend?ChartLegendInputLegend configuration. Shown by default when there is more than one series.-charts/src/charts/radar.ts:115
levels?numberNumber of concentric grid rings. Defaults to 5.-charts/src/charts/radar.ts:113
max?numberMaximum value mapped to the outer ring (defaults to the largest value across all series).-charts/src/charts/radar.ts:111
padding?PaddingInputSpace reserved around the chart, in pixels. A single number applies to all four edges; a [top, right, bottom, left] tuple or a partial { top, right, bottom, left } object sets individual edges, leaving unspecified edges at the default. Defaults to 16.BaseChartOptions.paddingcharts/src/core/chart.ts:124
seriesRadarChartSeriesOptions<TData>[]The series to overlay, each rendered as a filled polygon.-charts/src/charts/radar.ts:107
theme?string | ThemeTheme for this chart: a registered name ('light'/'dark'/'auto'), or a Theme. Falls back to the module default (see setDefaultTheme).BaseChartOptions.themecharts/src/core/chart.ts:130
title?string | Partial<ChartTitleOptions>Chart title as plain text, or a ChartTitleOptions object for full control.BaseChartOptions.titlecharts/src/core/chart.ts:126