This method returns the object ID of the legend text associated with a reference line.
Syntax:
IdentObj getReferenceLineLegendText;( IdentObj axisObj, int nIndex);
where:
Is the Axis object ID.
Is the integer reference line index number (0...2).
Example:
setDepthAngle(0);
setDepthRadius(0);
setReferenceLine(getY1Axis(),0,50);
setLineWidth(getReferenceLine(getY1Axis(),0),3);
setFillColor(getReferenceLine(getY1Axis(),0), new Color(255,0,0));
setTextString(getReferenceLine(getY1Axis(),0),"RefLine");
setDisplay(getReferenceLineLegendText(getY1Axis(),0),true)
See setReferenceLine().
WebFOCUS |