@YSZNL (Y1-Axis Line with Label & Value on Left)

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 left side of the chart. For horizontal orientation, the line is drawn vertically with the label and value on the top side of the chart.

SYNTAX:

@YSZNL 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: @YSZNL.RPT

@YSZNL 4.5 2600 900 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, @YSZN

Next MacroPrevious Macro Return to Alpha List

Previous Macro in this Group Return to Group List