A discrete
legend consists of one or more units called legend entries. Each legend
entry consists of a legend symbol and a legend value. The legend symbol
is typically a marker, line, or fill that represents a specific area
in the plot. The legend value is descriptive text derived from group
values or assigned with the plot’s LEGENDLABEL= option.
Within
an overlay-type layout, when a discrete legend is placed inside the
plot area with
LOCATION=INSIDE,
-
It is always placed on top of plot
lines and markers.
-
By default, its background is fully
transparent (
OPAQUE=FALSE), meaning that underlying lines,
markers, and data labels show through the legend.
-
Within
an overlay-type layout, when a discrete legend is placed outside the
plot area with LOCATION=OUTSIDE,
-
By default, its background is fully
opaque (OPAQUE=TRUE).
-
Its position can be controlled
with the HALIGN= and VALIGN= options.
When a
discrete legend is placed within nested layouts, it might be necessary
to use the
ACROSS= and
ORDER=ROWMAJOR options or the
DOWN= and ORDER=COLUMNMAJOR options to obtain the
desired legend organization. A legend might be dropped if the total
legend area in the graph exceeds the percentage set by the MAXLEGENDAREA=
option on an ODS GRAPHICS ON statement that is in effect for the output
destination.