Y1LabelFormatPattern

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

Syntax:

setY1LabelFormatPattern(string);
string = getY1LabelFormatPattern();

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 detailed information about this format pattern.

Example:

setDepthAngle(0);
setDepthRadius(0);
setY1LabelFormat(-1);  setY1LabelFormatPattern("#.#$");

bar graph

setY1LabelFormatPattern("#.#=");

bar graph

See Y1LabelFormat.


WebFOCUS