getReferenceLineLegendText()

This method returns the object ID of the legend text associated with a reference line.

Syntax:

IdentObj getReferenceLineLegendText;(
     IdentObj axisObj, int nIndex);

where:

axisObj

Is the Axis object ID.

nIndex

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)

bar graph

See setReferenceLine().


WebFOCUS