Skip to main content

Module waterfall

Module waterfall 

Source
Expand description

StatWaterfall: running totals for a waterfall (bridge) chart.

Walks the panel’s rows in data order, accumulating y. Each step becomes a bar floating from the previous running total (ymin/ymax); rows whose x level is listed in totals instead draw from 0 to the running total (their own y is ignored), and final_total appends one closing total bar.

Structs§

StatWaterfall
Cumulative-sum stat behind GeomWaterfall.

Constants§

WATERFALL_DECREASE
Legend / direction label of a falling step.
WATERFALL_INCREASE
Legend / direction label of a rising step.
WATERFALL_TOTAL
Legend / direction label of a total bar.