This macro adds a user-defined line on the X-axis at value fValue with the label sZLabel. For vertical orientation, the line is drawn vertically with the label on the top side of the chart. For horizontal orientation, the line is drawn horizontally with the label on the right side of the chart.
SYNTAX:
@XSZ fValue nXAdjust nYAdust sZLabel
PARAMETERS:
fValue; Value at which to add the user-defined line on the X-axis
nXAdjust; -16000...16000 adjusts the label closer to or further away from the line.
nYAdust; -16000...16000 adjusts the label closer to or further away from the line.
sZLabel; Label string to show next to the line at fValue. Add a tilde (~) character to the end of the string if you intend to define other macros in the same title field.EXAMPLE: @XSZ.RPT
@GCOLOR 14 255 0 0
@XSZ 2.5 0 0 Target LinePERSISTENT:
NO
REQUIREMENTS:
Crystal Reports 10 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.
ALSO SEE::
Next Macro Previous Macro Return to Alpha List
Next Macro in this Group Previous Macro in this Group Return to Group List