PitchKit
API Reference@pitchkit/reactInterfaces

RadarSeries

Defined in: packages/react/src/radar-types.ts:17

One player, team or profile.

Properties

PropertyModifierTypeDescriptionDefined in
className?readonlystringApplied to the series' group. Every part inside paints with currentColor, so text-rose-500 recolours the whole series; drops the themed default, as on every mark layer (D9).packages/react/src/radar-types.ts:33
color?readonlystringAny CSS colour, usually a var(). Defaults to --pitch-series-N by position, so colour follows the entity, never its rank.packages/react/src/radar-types.ts:27
idreadonlystring-packages/react/src/radar-types.ts:18
label?readonlystringLegend and readout text. Defaults to id.packages/react/src/radar-types.ts:20
valuesreadonlyReadonly<Record<string, number | null | undefined>>Keyed by metric id. A missing or non-finite value draws nothing.packages/react/src/radar-types.ts:22

On this page