Y2LabelFormatPattern

When Y2LabelFormat is set to minus one, this property can be used to define a standard Java format pattern for Y2-axis labels.

Syntax:

setY2LabelFormatPattern(string);
string = getY2LabelFormatPattern();

where:

string

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'* '#'*

"#.#" is the default value.

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

Example:

setGraphType(21);
setY2LabelFormat(-1);
   setY2LabelFormatPattern("-#.#-");
setDepthAngle(0);
setLegendDisplay(false);
setDepthRadius(0);

bi-polar bar graph

See Y2LabelFormat.


WebFOCUS