@YSZ (Y1-Axis Line with Label)

This macro adds a user-defined line on the Y1-axis at value fValue with the label sZLabel. For vertical orientation, the line is drawn horizontally with the label on the right side of the chart. For horizontal orientation, the line is drawn vertically with the label on the bottom side of the chart.

SYNTAX:

@YSZ fValue nXAdjust nYAdjust sZLabel

PARAMETERS:

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 tilde (~) character to the end of the string if you intend to define other macros in the same title field.

EXAMPLE: @YSZ.RPT

@YSZ 4.5 0 0 Target Line

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.

ALSO SEE::

@YSZL, @YSZN, @YSZNL

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List