Used by: | GAREABAR, GBARLINE, GCHART, GCONTOUR, GMAP, GPLOT |
Type: | Global |
The CBLOCK= and CSHADOW= options are mutually exclusive.
If both are present,
legend1 label=(font=swiss '00'x);Text-argument(s) can be one or more of these:
#BYVAL or #BYVAR substitution in a text string is not available in the DATA Step Graphics Interface or in the Annotate facility. The reason is that BY lines are not created in a DATA step.
offset=(2 pct, 4 pct)
POSITION=(<BOTTOM | MIDDLE | TOP> <LEFT | CENTER | RIGHT> <OUTSIDE | INSIDE>)
Up to 256 characters in a variable value might be displayed.
origin=(2 pct, 4 pct)
shape=symbol(.5,.5)
shape=symbol(2,.5)
Berlin,
Germany/Europe
, and you specify SPLIT=“,/”.
The legend breaks the text string into
top-aligned lines as follows: Berlin Germany EuropeIf the LEGEND statement does not encounter a specified split character, no break in the text occurs, and no warning or error is issued.
Not supported by the GRADAR procedure
Up to 31 split characters are supported. If you specify more than 31 characters, only the first 31 are honored.
value=("1986" "1987" "1988")
NONE is not supported by Java or ActiveX
#BYVAL or #BYVAR substitution in a text string is not available in the DATA Step Graphics Interface or in the Annotate facility. The reason is that BY lines are not created in a DATA step.
legend label=(justify=c "Distribution" justify=c "Centers") value=(tick=1 justify=c "Portland," justify=c "Maine" tick=2 justify=c "Paris," justify=c "France" tick=3 justify=c "Sydney," justify=c "Australia");
label=("multi-" justify=left "line" justify=left "label" position=left)
Minneapolis
, specify the following code:
value=(tick=3 "Minneapolis")
value=(tick=2 "Paris" tick=3 "Sydney")
value=(color=red font=swiss tick=2 color=blue)
label=(font=albany amt height=4 "Weight" justify=right height=3 "(in tons)")
legend4;
goptions reset=legend;