@YSZN (Y1-Axis Line with Label & Value)

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.

SYNTAX:

@YSZN 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 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.

EXAMPLE: @YSZN.RPT

@YSZN 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:

@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