A global legend layout
can contain multiple discrete or merged legends. Continuous legends
are not supported inside the global legend block.
A global legend is placed
at the bottom of the graph, just above the footnote(s). All of the
discrete or merged legend statements that are nested within the global
legend block are arranged into a single row or column, depending on
the setting for the
TYPE= option.
Depending on the outermost
layout type and the legend content, the legend is centered on the
graph wall area or on the graph output area. For example, if the outermost
layout is an overlay layout, when positioning the legend, the GLOBALLEGEND
statement first attempts to center the legend on the graph wall area.
If that position causes the legend to be clipped, it then attempts
to center the legend on the entire output area instead. In that case,
the legend might appear to be slightly off-center with respect to
the graph.
Only one global legend
block is permitted in a graph. The block must be located within the
BEGINGRAPH block, but outside of the outermost layout block.
When a global legend
block is used, only legend statements within the block are displayed
in the graph. Any legend statements that are specified outside of
the global legend block are ignored.