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 on these and other options, see the chapters specific to the layouts, text statements, and legends. Also see the SAS/GRAPH: Graph Template Language Reference.

Backgrounds

OPAQUE= FALSE | TRUE
Whether the background is transparent or not. By default, OPAQUE=FALSE
BACKGROUNDCOLOR= color
If the background is opaque, a color can be assigned to it.

Borders

BORDER= FALSE | TRUE
Whether a border is displayed. By default, BORDER=FALSE.
BORDERATTRS= ( line-options )
If the border is displayed, its line properties can be set.

Padding

PAD= number
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

HALIGN= LEFT | CENTER | RIGHT
When a layout or legend is nested inside an overlay-type layout, or 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