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 nThickness and nLineStyle parameters can be used to define the thickness and style of the line.
SYNTAX:
@CY2 fYValue nRed nGreen nBlue nThickness 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
nThickness; 0...1000 selects the thickness of the line.
nLineStyle; 0...15 selects one of the following line styles.
![]()
EXAMPLE: @CY2.WID
@HQ 1 @BEVEL 3 1 @SZ 50 @CY2 5.5 0 255 0 500 5
@CY2 5.5 255 0 0 600 6
NOTES:
WebI:Chart 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