This macro adds a user-defined line on the X-axis at fValue. Use the nRed, nGreen, and nBlue parameters to specify the RGB color of the line. The line is drawn horizontally or vertically depending on the chart orientation.
SYNTAX:
@CX fValue nRed nGreen nBlue
PARAMETERS:
fValue; Value at which to add the user-defined line on the X-axis
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 colorEXAMPLE: @CX.RPT
@CX 4.5 255 0 255
PERSISTENT:
NO
REQUIREMENTS:
Crystal Reports 9 or Higher
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.