The stack of bars read as a waterfall, when it is one.
ECharts' recipe for a waterfall stacks a transparent placeholder under each
visible bar. Superset follows it -- measured on 6.1.0, an Assist series
painted transparent item by item under Increase, Decrease and
Total, each holding a value only where it draws. So a stack is a
waterfall when exactly one of its series is painted clear wherever it
lifts something, and every category is drawn by at most one visible bar.
Each visible bar spans the placeholder's height to that plus its own. Which
way it went is not in the names -- a chart may call them anything -- but in
the running total: a step that starts where the last one ended rose, one
that ends there fell, and one rising from the baseline to the running total
restates it. A stack that follows none of these is not a waterfall, and is
read as the stack it is.
The stack of bars read as a waterfall, when it is one.
ECharts' recipe for a waterfall stacks a transparent placeholder under each visible bar. Superset follows it -- measured on 6.1.0, an
Assistseries paintedtransparentitem by item underIncrease,DecreaseandTotal, each holding a value only where it draws. So a stack is a waterfall when exactly one of its series is painted clear wherever it lifts something, and every category is drawn by at most one visible bar.Each visible bar spans the placeholder's height to that plus its own. Which way it went is not in the names -- a chart may call them anything -- but in the running total: a step that starts where the last one ended rose, one that ends there fell, and one rising from the baseline to the running total restates it. A stack that follows none of these is not a waterfall, and is read as the stack it is.