You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zmworm edited this page Apr 29, 2026
·
16 revisions
Excel: Chart - waterfall
A dedicated page for the waterfall chart type. Waterfall charts
(also called bridge charts) show how an initial value is affected by a
series of positive and negative changes, ending with a cumulative total.
Common in financial P&L presentations.
Waterfall charts are implemented as stacked bar charts with 3 series:
Base (invisible) - running total baseline with no fill
Increase (visible) - positive change bars
Decrease (visible) - negative change bars
The "floating bar" effect is achieved by the invisible base series
pushing the visible bars to the correct vertical position. Default
gapWidth=80 and overlap=100 for a connected appearance.
Title styling
Property
Default
Notes
title
—
Chart title text
title.font / titleFont
—
Font family
title.size / titleSize
—
Font size (pt)
title.color / titleColor
—
Font color (hex)
title.bold / titleBold
—
Bold (true/false)
title.glow / titleGlow
—
Glow: "COLOR-RADIUS-OPACITY" or "none"
title.shadow / titleShadow
—
Shadow: "COLOR-BLUR-ANGLE-DIST-OPACITY" or "none"
Legend
Property
Default
Notes
legend
true
Position: top, bottom, left, right, none
legend.overlay
false
Float legend on top of the chart
legendFont / legend.font
—
"size:color:fontname"
Axis features
Scale control
Property
Default
Notes
axisMin / min
(auto)
Value axis lower bound
axisMax / max
(auto)
Value axis upper bound
majorUnit
(auto)
Major gridline / tick interval
minorUnit
(auto)
Minor gridline / tick interval
axisNumFmt / axisNumberFormat
General
Number format for tick labels (e.g. "$#,##0", "0%")
# Lock Y axis range for P&L
officecli add data.xlsx /Sheet1 --type chart \
--prop chartType=waterfall \
--prop title="P&L Waterfall" \
--prop data="Flow:Start:1000,Revenue:500,Costs:-300,Tax:-100,Net:1100" \
--prop axisMin=0 --prop axisMax=2000 --prop majorUnit=200
Logarithmic scale
Property
Default
Notes
logBase / logScale
—
Logarithmic scale base (e.g. 10)
Reversed axis
Property
Default
Notes
axisOrientation / axisReverse
minMax
Set to maxMin or true to flip the Y axis
Display units
Property
Default
Notes
dispUnits / displayUnits
—
thousands, millions, billions, etc.
Axis visibility and styling
Property
Default
Notes
axisVisible / axis.visible
true
Show/hide both axes
axisLine / axis.line
—
Value axis line: "color:width:dash"
catAxisLine
—
Category axis line: "color:width:dash"
majorTickMark / majorTick
—
out, in, cross, none
minorTickMark / minorTick
—
Same as major tick
tickLabelPos
nextTo
nextTo, high, low, none
Gridlines
Property
Default
Notes
gridlines / majorGridlines
true
Toggle or configure: true, false/none, or "color:widthPt:dash"
Colors are set at creation only.increaseColor, decreaseColor,
and totalColor are applied during add; there is no dedicated
setter to change them after creation (use point{N}.color instead).
Detection pattern: officecli identifies waterfall charts by checking
for a stacked bar with 3 series where the first is named "Base" with
no fill.
Inspect an existing waterfall chart
# List all charts
officecli query data.xlsx chart
# Inspect a specific chart
officecli get data.xlsx "/Sheet1/chart[1]"# Render to HTML preview
officecli view data.xlsx html > preview.html