Skip to content

Function: waterfallTimeTicks()

ts
function waterfallTimeTicks(
   now, 
   span, 
   opts?): Tick[];

Defined in: stats/waterfall.ts:65

Ticks for a waterfall's time axis: whole clock steps between now - span and now, positioned on the age axis so now sits at the top (span) and each label slides down as its row ages.

Parameters

ParameterType
nownumber
spannumber
optsWaterfallTickOptions

Returns

Tick[]

MIT licensed. WebGL2 required.