These methods get/set the number of colors/sections to be used for alternate formatting of an axis. Alternate formatting can be used to assign different colors to individual sections of an axis and axis labels. You may also define a text string label that is shown with the alternate formatted section.
Syntax:
int getAltFmtFrameNumColors (IdentObj idObj); void setAltFmtFrameNumColors (IdentObj idObj, int newValue);
where:
Is the object ID of an alternate formatting axis object (for example, getY1AltFmtFrame(), getO1AltFmtFrame(), and others).
For setAltFmtFrameNumColors(), number of colors/sections to use for alternate formatting of the specified axis (idObj). It can be a value in the range 1...100. The default value is 2.
Return:
For getAltFmtFrameNumColors(), number of colors/sections that are used for alternate formatting of the specified axis (idObj).
See Alternate Formatting.
WebFOCUS |