matchMinuteTicks()
function matchMinuteTicks(endTime, interval?): number[];Defined in: packages/core/src/chart/ticks.ts:59
Clock ticks for a match axis: every interval minutes from kick-off up
to endTime.
The default of 15 gives 0/15/30/45/60/75/90, which is how football is
actually discussed. Extra time extends the same progression (105, 120)
rather than restarting, because endTime comes from the data.
Parameters
| Parameter | Type | Default value |
|---|---|---|
endTime | number | undefined |
interval | number | 15 |
Returns
number[]