PitchKit
API Reference@pitchkit/reactInterfaces

RaceChartContextValue

Defined in: packages/react/src/race-context.ts:14

Properties

PropertyModifierTypeDescriptionDefined in
endTimereadonlynumber-packages/react/src/race-context.ts:21
framereadonlyChartFrame-packages/react/src/race-context.ts:15
scaleXreadonlyLinearScaleMatch minute -> pixel.packages/react/src/race-context.ts:17
scaleYreadonlyLinearScaleAccumulated value -> pixel, already flipped for SVG.packages/react/src/race-context.ts:19
seriesreadonlyreadonly ResolvedRaceSeries[]-packages/react/src/race-context.ts:20
valueAtreadonly(seriesId, time) => numberThe cumulative value of seriesId at time. Exposed rather than kept internal because the built-in crosshair is already built from it — "every series at the hovered minute" is one call per series — and an annotation child needs exactly the same thing to sit on a line rather than float beside it.packages/react/src/race-context.ts:30

On this page