Function: addWaterfall()
ts
function addWaterfall(plot, opts): WaterfallHandle;Defined in: stats/waterfall.ts:181
Add a scrolling waterfall: frequency (or any x) across, time down, newest row on top. Feed it one column per step with WaterfallHandle.push; the time ticks follow on their own.
Clock labels are wider than plain numbers and the plot's left margin is not measured from them, so give it room — margin: { left: 72 } fits mm:ss.mmm.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | WaterfallOptions |