RadarMetric
Defined in: packages/react/src/radar-types.ts:9
One axis. Values are drawn as given — PitchKit computes no per-90s,
percentiles or ranges. min/max default to 0–100; lowerIsBetter
flips the axis so outward is always better.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
id | readonly | string | Key into each series' values, and the stable identity of the axis. | - | packages/react/src/radar-types.ts:11 |
label? | readonly | string | Defaults to id. | - | packages/react/src/radar-types.ts:13 |
lowerIsBetter? | readonly | boolean | Flips the axis so the better value is always outward: a player with few turnovers reaches the rim, not the centre. | PolarRange.lowerIsBetter | packages/core/src/polar/metric.ts:15 |
max? | readonly | number | Default 100 | PolarRange.max | packages/core/src/polar/metric.ts:10 |
min? | readonly | number | Default 0 | PolarRange.min | packages/core/src/polar/metric.ts:8 |