Skip to content

Interface: D3PWaterfallOptions ​

Defined in: core/transforms.ts:148

Options of a waterfall: the series, and which rows are totals.

Properties ​

bus? ​

ts
bus?: D3PBus;

Defined in: core/transforms.ts:150

The bus the waterfall uses (the global bus by default).


series ​

ts
series: D3PSeries;

Defined in: core/transforms.ts:152

The steps: x is the label, the value the change.


totals? ​

ts
totals?: readonly (string | number)[] | ((x, index) => boolean);

Defined in: core/transforms.ts:157

Which points are totals: they are drawn from zero to the running sum (their own value is ignored). Indexes, labels, or a function.