This method gets the reference line object for axis Y1. This object will only exist in a graph if the setDisplay(getReferenceLineY1(int), true) method is used to show the line.
Syntax:
IdentObj getReferenceLineY1(int);
where:
Is the identifier for the reference line, where 0 identifies the first reference line.
Example:
The following code turns on a reference line for the Y1 axis, sets the value at which the line displays to 20,000, creates a label for the reference line, and turns on the display of the label:
setDisplay(getReferenceLineY1(0),true); setReferenceLineValueY1(0,20000.0); setLineWidth(getReferenceLineY1(0),2); setTextString(getReferenceLineTextY1(0),"Salary at 20K"); setDisplay(getReferenceLineTextY1(0),true);
See getReferenceLineTextY1(), APIs Related to Reference Lines.
WebFOCUS |