Waterfall

Hereafter are presented the available specific options for waterfall charts in mathlayer®.

Waterfall options

Options Description Values Default Values
posWaterfallFill
negWaterfallFill
Specify the colors for thepositive and negative bars. Any color in Hex, RGB or HSL representation. 'lightsteelblue'
'#b30000' (red)
barValueFormat Sets the format of the value displayed on the bars. Any format suported by d3. '.0'
options = struct  

% initializing options struct

options.barValueFormat = '.1s' options.yAxisFormat = '.1s' x = [1 2 -3 -4 5 6 1 -3 2 -5]*10000000 waterfall(x,options)

Related functions

bar | histogram | pie | waterfall