RaceChart()
function RaceChart<T>(__namedParameters): Element;Defined in: packages/react/src/RaceChart.tsx:171
A cumulative step chart: one line per series, holding flat between events and jumping at each one. The canonical case is an xG race, where each step is a shot sized by its expected goals.
A sibling of <Pitch>, not a child of it. There is no pitch and no
provider coordinate system here, so it owns its own scales rather than
going through createPixelTransform
(docs/decisions.md D23). It renders SVG only, so it
server-renders like every mark layer.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | RaceChartProps<T> |
Returns
Element