Names of the generated fields.
The field that receives where each column ends.
The field that receives where each column starts.
The field holding each column's category.
The field holding each column's change. A subtotal or total column shows its own value from zero, whatever the running total before it.
OptionalgroupBy?: string[]Fields to accumulate separately, for example ['series'] for a running total per series.
When absent, all records form one running total.
Optionalsubtotals?: integer[]Zero-based indexes of the records that are subtotals or totals. When absent, there are none.
Computes running totals for a waterfall.
Computes running start and end values for waterfall charts.