PitchKit
API Reference@pitchkit/reactInterfaces

PizzaSeries

Defined in: packages/react/src/pizza-types.ts:22

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/pizza-types.ts:38
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/pizza-types.ts:32
idreadonlystring-packages/react/src/pizza-types.ts:23
label?readonlystringLegend and readout text. Defaults to id.packages/react/src/pizza-types.ts:25
valuesreadonlyReadonly<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

On this page