This macro adds a user-defined line on the Y1-axis at value fValue with the label sZLabel. The value of fValue is appended to sZLabel. For vertical orientation, the line is drawn horizontally with the label and value on the right side of the chart. For horizontal orientation, the line is drawn vertically with the label and value on the bottom side of the chart.
@YSZN fValue nXAdjust nYAdjust sZLabel
fValue; Value at which to add the user-defined line on the Y1-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 space to the end of the label if you want a space to appear between the label and fValue. Add a tilde (~) character to the end of the string if you intend to define other macros in the same title field.
@YSZN 4.5 0 0 Target Line=
Crystal Reports 9 or Higher
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.
@YSZ, @YSZL, @YSZNL
Next Macro Previous Macro Return to Alpha List
Next Macro in this Group Previous Macro in this Group Return to Group List