This macro adds a user-defined marker with optional text to a chart. With this macro, you can also specify a null marker and a value to append to the phrase (szPhrase). fX must be value that is between the minimum and maximum values shown on the X-Axis. fY must be value that is between the minimum and maximum values shown on the Y-Axis.
SYNTAX:
@USER_MARKER2 fX fY nShape nRed nGreen nBlue fValue szPhrase
PARAMETERS:
fX; X-position
fY: Y-position
nShape; 0...8. 0...7 selects one of the following markers:
8=null/no marker
nRed; 0...255 defines the RED portion of the RGB color
nGreen; 0...255 defines the GREEN portion of the RGB color
nBlue; 0...255 defines the BLUE portion of the RGB color
fValue; Value to append to szPhrase.
szPhrase; Optional phrase. Add a tilde character (~) to this string if you intend to define another macro in the same title field.EXAMPLE: @USER_MARKER2.RPT
@USER_MARKER2 1.0 4.5 8 0 0 0 4.5 No marker but value =
PERSISTENT:
NO
REQUIREMENTS:
Crystal Reports 9 or Higher
NOTES:
CRChart supports a maximum of eight user markers defined with @USER_MARKER and @USER_MARKER2
ALSO SEE:
Next Macro Previous Macro Return to Alpha List
Next Macro in this Group Previous Macro in this Group Return to Group List