@CXY (X/Y Coordinates Line with Color)

This macro adds a user-defined line that starts at location fXBegin, fYBegin and stops at location fXEnd, fYEnd. For charts with a true X-Axis (e.g., Scatter, Bubble, Polar, etc.), fXBegin and fXEnd define the value on the X-Axis where the line will be drawn. For bar, line, or area charts, fXBegin and fXEnd must be set to a value in the range 0.0 to 1.0 that defines a percentage of the X (or ordinal)-Axis length. Use the nRed, nGreen, and nBlue parameters to specify the RGB color of the line.

SYNTAX:

@CXY fXBegin fYBegin fXEnd fYEnd nRed nGreen nBlue

PARAMETERS:

fXBegin; Beginning X-coordinate

fYBegin; Beginning Y-coordinate

fXEnd; Ending X-coordinate

fYEnd; Ending Y-coordinate

nRed; 0...255 specifies the RED portion of the RGB color

nGreen; 0...255 specifies the GREEN portion of the RGB color

nBlue; 0...255 specifies the BLUE portion of the RGB color

EXAMPLE: @CXY.RPT

@CXY 3.5 3 0 5 255 0 0

@CXY 3.5 4.5 3 5 255 0 0

PERSISTENT:

NO

NOTES:

CRChart supports a maximum of 20 user-defined lines. User-defined lines are drawn with: @CX, @CXY, @CY, @CY2, @X, @XG, @XSZ, @XSZL, @XSZN, @XSZNL, @XY, @XY_DP2, @Y, @YSZ, @YSZL, @YSZN, @YSZN2, & @YSZNL.

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List