This property is used to set color mode to distinguish positive and negative numbers by color in Waterfall charts.
Syntax:
setWaterfallStackColorMode(boolean);
boolean = getWaterfallStackColorMode();
where:
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 |