PieRingTotalFormatPattern

When the PieRingTotalDisplay property is set to true and the total data value is displayed in the center of a ring pie graph, this property can be used to define the format of the data value. This property is used to specify a standard Java number format pattern. See the PieRingTotalFormat property to select one of the standard preset formats.

Syntax:

setPieRingTotalFormatPattern(patternString);
patternString = getPieRingTotalFormatPattern();

where:

patternString

Is a pattern string in the following format:

pattern:= subpattern{;subpattern}subpattern:= {prefix}integer{.fraction}{suffix}
   prefix:= '\\u0000'..'\\uFFFD'
   - specialCharacterssuffix:= '\\u0000'..'\\uFFFD'
   - specialCharactersinteger:= '#'* '0'* '0'fraction:= '0'* '#'*

The default is "#.#"

See Formatting Numbers and Numeric Labels for more detailed information about this format pattern.

Example:

setPieRingTotalFormat(-1);
setGraphType(56);
setPieRingSize(60);  setPieRingTotalFormatPattern("$###,###");

pie ring graph

See PieRingSize, PieRingTotalDisplay, PieRingTotalFormat.


WebFOCUS