Controlling the Zero Data Value When the Cumulative Stack Total Is Zero

You can use the ZeroValueDataTextStackedTotalOnTopDisplay property to control whether the zero data value is hidden when the cumulative stack total is equal to zero.

Syntax:

setZeroValueDataTextStackedTotalOnTopDisplay(boolean);
boolean = getZeroValueDataTextStackedTotalOnTopDisplay();

where:

boolean

Can be one of the following:

true displays the zero text value. This is the default value.

false hides the zero text value.

Example:

With setZeroValueDataTextStackedTotalOnTopDisplay(true), the zero value is displayed even though the stack has a cumulative total of zero:

setZeroValueDataTextStackedTotalOnTopDisplay(true);

With setZeroValueDataTextStackedTotalOnTopDisplay(false), the zero value is hidden for the stack that has a cumulative total of zero:

setZeroValueDataTextStackedTotalOnTopDisplay(false);


WebFOCUS