PizzaSeries
Defined in: packages/react/src/pizza-types.ts:22
One player, team or profile.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
className? | readonly | string | Applied 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/pizza-types.ts:38 |
color? | readonly | string | Any CSS colour, usually a var(). Defaults to --pitch-series-N by position, so colour follows the entity, never its rank. | packages/react/src/pizza-types.ts:32 |
id | readonly | string | - | packages/react/src/pizza-types.ts:23 |
label? | readonly | string | Legend and readout text. Defaults to id. | packages/react/src/pizza-types.ts:25 |
values | readonly | Readonly<Record<string, number | null | undefined>> | Keyed by metric id. A missing or non-finite value draws no slice. | packages/react/src/pizza-types.ts:27 |