Y2LabelFormat

When Y2LabelDisplay is enabled, this property selects a preset standard format for Y2-axis labels. Set this property to minus one if you want to define a standard Java format pattern string with Y2LabelFormatPattern.

Syntax:

setY2LabelFormat(value);
value = getY2LabelFormat();

where:

value

Is any integer between -1 and 21.

-1 uses the pattern defined by Y2LabelFormatPattern.

0 through 21 selects a preset number format. 0 (General) is the default value.

See Formatting Numbers and Numeric Labels.

Example:

setDepthAngle(0);
setDepthRadius(0);
setLegendDisplay(false);
setGraphType(21);  setY2LabelFormat(6);

bi-polar bar graph

See Y2LabelFormatPattern.


WebFOCUS