Appearance
@shbernal/ts-pptx / index / ChartPropsChartWaterfall
Interface: ChartPropsChartWaterfall
Defined in: src/types/chart.ts:592
Options for the modern (Office 2016) chartEx chart types.
NOTE: chartEx charts (currently waterfall) render only in PowerPoint 2016+/Microsoft 365. In older Office, Google Slides, Keynote and LibreOffice a fallback placeholder shows instead.
Extended by
Properties
subtotals?
optionalsubtotals?:number[]
Defined in: src/types/chart.ts:599
Zero-based category indices to render as subtotal/total columns in a waterfall chart (columns anchored to the axis baseline rather than floating from the running cumulative value). Out-of-range or non-integer entries are dropped with a console warning.
Example
ts
[0, 4] // first and fifth categories are totals