The WOThresholdColoredNumber component displays a number in one of two colors depending on whether the number is above or below a threshold.
WOThresholdColoredNumber { lowColor=hexString; highColor=hexString; threshold=aNumber;
value=aNumber; [numberformat=numberFormatString;] };
The color in which the number is rendered when the number is below the threshold. Defaults to "#FF0000".
The color in which the number is rendered when the number is equal to or above the threshold. Defaults to "#00FF00".
The threshold at which the number’s rendered color is changed.
The displayed number.
A format string that specifies how value should be formatted as a number. If the value can’t be interpreted according to the format you specify, the value is set to null. See the NSNumberFormatter class specification for a description of the number format syntax.
Last updated: 2004-12-02