This macro adds a user-defined line on the Y1-axis at value fYValue. 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. The nWidth & nStyle parameters define the width and style of the line.
SYNTAX:
@CY2 fYValue nRed nGreen nBlue nWidth nStyle
PARAMETERS:
fYValue; Value at which to add the user-defined line on the Y-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 color
nWidth; 0...1000 selects the thickness of the line.
nStyle; 0...15 selects one of the following line styles.
EXAMPLE: @CY2.RPT
@CY2 4.5 255 0 0 500 4
PERSISTENT:
NO
REQUIREMENTS:
- Crystal Reports 11 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.
Next Macro Previous Macro Return to Alpha List
Next Macro in this Group Previous Macro in this Group Return to Group List