Features Supported by Layout, Legend, and Text Statements
All layout, legend, and text statements have a general
set of features that include those listed in the following tables.
For more information about these and other options, see the chapters
specific to the layouts, text statements, and legends. Also see the SAS Graph Template Language: Reference.
Backgrounds
|
Whether the background
is transparent or not. By default, OPAQUE=FALSE
|
|
If the background is
opaque, a color can be assigned to it.
|
Borders
|
Whether a border is
displayed. By default, BORDER=FALSE.
|
BORDERATTRS= ( line-options )
|
If the border is displayed,
its line properties can be set.
|
Padding
|
Whether extra space
is added inside the border. By default, layouts and legends have PAD=0,
while text statements have PAD=(LEFT=3px RIGHT=3px) as the default.
|
PAD=(<TOP= number> <BOTTOM= number> <LEFT= number> <RIGHT= number>
|
Positioning
Text
HALIGN= LEFT | CENTER | RIGHT
|
For ENTRY statements,
a position can be specified relative to the container. ENTRYTITLE
and ENTRYFOOTNOTE statements have fixed vertical positions but can
be adjusted horizontally.
|
VALIGN= TOP | CENTER | BOTTOM
|
Legends and Layouts
HALIGN= LEFT | CENTER | RIGHT | value
|
For legends, and for
layouts that are nested within an overlay type layout, a position
can be specified relative to the parent container. The values CENTER,
LEFT, RIGHT, TOP, and BOTTOM position the legend or layout at fixed
locations horizontally or vertically. You can use value to express the position as a percentage
of the available vertical or horizontal space using any numeric value
between 0 and 1 inclusive. In order to use these options on a layout
block, the layout block must be embedded in an overlay-type layout.
Otherwise, the HALIGN= and VALIGN= options are ignored. A note is
written to the SAS log in that case. This restriction does not apply
to the legend statements.
Note the following equivalencies:
VALIGN=TOP is equivalent to VALIGN=1 |
VALIGN=BOTTOM is equivalent to VALIGN=0 |
HALIGN=RIGHT is equivalent to HALIGN=1 |
HALIGN=LEFT is equivalent to HALIGN=0 |
|
VALIGN= TOP | CENTER | BOTTOM | value
|
Copyright © SAS Institute Inc. All rights reserved.