Function: waterfallRowTicks()
ts
function waterfallRowTicks(
times,
span,
opts?): Tick[];Defined in: stats/waterfall.ts:91
Ticks for a waterfall whose rows did not arrive on a fixed cadence: each row carries its own clock, so the age axis is no longer linear in time.
times is row-major like the history — row 0 at the bottom, oldest — and rows that never streamed are NaN. Whole clock steps are placed between the oldest and newest row and positioned by interpolating the piecewise-linear map from clock to row, each row's clock sitting at its top edge (where the uniform formula already puts it).
Parameters
| Parameter | Type |
|---|---|
times | ArrayLike<number> |
span | number |
opts | WaterfallTickOptions |
Returns
Tick[]