Order of Evaluation

Because chart enhancement macros can be defined in any chart title field (i.e., Y2 Axis Title, Y1 Axis Title, X Axis Title, Footnote, Subtitle, or Title) or in a registry key, you could potentially define conflicting macros. To avoid this potential conflict, the macros are evaluated in the following order:

1) Data2 (Y2-Axis) Title

2) Data (Y1-Axis) Title

3) Group (X-Axis) Title

4) Footnote

5) Subtitle

6) Title

7) Macro defined in registry key (Crystal Reports 11 or higher only)

For example, assume "@SWAP 0" is defined in the Footnote field and "@SWAP 1" is defined in the Group Title field.

In this example, the "@SWAP 0" macro would be used because it is evaluated after the "@SWAP 1" definition.

If multiple macros are defined in the same title field, macros are parsed from left-to-right. For example, assume the following macros are defined in the Footnote field:

@SWAP 0 @SWAP 1

In this example, "@SWAP 1" would be used because it is defined AFTER "@SWAP 0".