Setting Color Mode to Distinguish Positive and Negative Numbers in Waterfall Charts

You can use the WaterfallStackColorMode property to set color mode on to distinguish positive and negative numbers by color in Waterfall charts.

Syntax:

setWaterfallStackColorMode(boolean);
boolean = getWaterfallStackColorMode();

where:

boolean

Can be one of the following:

true displays positive values in green and negative values in red.

false does not use color to distinguish between positive and negative numbers. This value is the default.

Example:

With setWaterfallStackColorMode(false), the colors in a Waterfall chart distinguish between the different series:

setWaterfallStackColorMode(false);

With setWaterfallStackColorMode(true), the colors in a Waterfall chart distinguish between positive (green) and negative (red) values:

setWaterfallStackColorMode(true);


WebFOCUS