RaceChartContextValue
Defined in: packages/react/src/race-context.ts:14
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
endTime | readonly | number | - | packages/react/src/race-context.ts:21 |
frame | readonly | ChartFrame | - | packages/react/src/race-context.ts:15 |
scaleX | readonly | LinearScale | Match minute -> pixel. | packages/react/src/race-context.ts:17 |
scaleY | readonly | LinearScale | Accumulated value -> pixel, already flipped for SVG. | packages/react/src/race-context.ts:19 |
series | readonly | readonly ResolvedRaceSeries[] | - | packages/react/src/race-context.ts:20 |
valueAt | readonly | (seriesId, time) => number | The 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 |