ChartWaterfallSettings

configuration options for customizing the appearance and behavior of a Waterfall chart series.

Props

The following table outlines the props for the ChartWaterfallSettings:

NameTypeDefaultDescription
connectorLine
{ strokeWidth: 1, strokeColor: '#5F6A6A', strokeDasharray: '', strokeOpacity: 1 }

Configures the connector line that visually links the columns in a Waterfall chart.

intermediateSumIndexes
number[]
[ ]

Specifies the indexes of data points that should be treated as intermediate sum points.

negativeColor
string
'#C64E4A'

Specifies the fill color for columns representing negative values in the Waterfall chart.

positiveColor
string
''

Specifies the fill color for columns representing positive values in the Waterfall chart.

subtotalColor
string
'#4E81BC'

Defines the fill color for intermediate (sub-total) sum columns in the Waterfall chart.

sumIndexes
number[]
[ ]

Specifies the indexes of data points that should be treated as total sum points.

totalColor
string | null
'#4E81BC'

Defines the fill color for the final total sum column in the Waterfall chart.