PitchKit
API Reference@pitchkit/reactInterfaces

RaceAppearance

Defined in: packages/react/src/race-types.ts:25

Structure only — never colour, per docs/decisions.md D8. Everything here answers "is this drawn", not "what colour is it".

Properties

PropertyModifierTypeDescriptionDefined in
area?readonlybooleanShading under each line, at ~10% of the series hue. Default falsepackages/react/src/race-types.ts:31
axis?readonly"x" | "y" | "none" | "both"Default "both"packages/react/src/race-types.ts:27
endLabels?readonlybooleanEach series' total, printed at its line end. Default truepackages/react/src/race-types.ts:37
grid?readonlybooleanDefault truepackages/react/src/race-types.ts:29
legend?readonlybooleanDefault true for two or more series, false for onepackages/react/src/race-types.ts:39
markers?readonly"none" | "all" | "emphasis"Which points get a dot. Default "emphasis"packages/react/src/race-types.ts:33
periods?readonlybooleanPeriod-boundary rules; needs a period accessor to have anything to draw. Default truepackages/react/src/race-types.ts:35

On this page