Attribute Task
Graphics
Environment Affected Items
“LINESTYLE=pattern-number” (p. 865) Specify the pattern of a
line
All graphics
environments
Borders, axis
lines, grid,
reference
“LINETHICKNESS=dimension” (p.
865)
Specify the thickness of a
line
All graphics
environments
Thickness of line
“MARKERSIZE=dimension” (p. 867) Specify a marker size All graphics
environments
Marker size
“MARKERSYMBOL=marker-symbol”
(p. 867)
Specify a marker symbol All graphics
environments
Marker used
“NEUTRALCOLOR=color” (p. 867) Specify the middle color of
a three-color ramp
Template-based graphics Contours,
gradient legends
“OUTPUTHEIGHT=dimension” (p.
868)
Specify the height of a
graph
All graphics
environments
Height of graph
“OUTPUTWIDTH=dimension” (p. 868) Specify the width of a
graph
All graphics
environments
Width of graph
“STARTCOLOR=color” (p. 872) Specify the start fill color
for a graph
All graphics
environments
Contours,
gradient legends
“TEXTALIGN=alignment” (p. 872) Specify the alignment of
an image
Device-based graphics Image horizontal
positioning
“TICKDISPLAY="INSIDE" |
"OUTSIDE" | "ACROSS" ” (p. 874)
Specify the placement of
all major and minor axis
tick marks
Template-based graphics Placement of all
major and minor
axis tick marks
“TRANSPARENCY=dimension” (p.
874)
Specify the transparency of
backgrounds, fills, lines,
and markers
All graphics
environments
Backgrounds,
fills, lines,
markers
“VERTICALALIGN=BOTTOM |
MIDDLE | TOP ” (p. 875)
Specify vertical
justification
Device-based graphics Image vertical
positioning
Style Attributes Detailed Information
ABSTRACT=ON | OFF
specifies whether styles used in an HTML document are used in CSS style files.
ON
specifies that styles are used in CSS style files.
OFF
specifies that styles are not used in CSS style files.
844 Chapter 11 Style Attributes
Restriction
The ABSTRACT= attribute is valid only in markup family
destinations.
ACTIVELINKCOLOR=color
specifies the color that a link in an HTML document changes to after you click it, but
before the browser opens that file.
Restriction
The ACTIVELINKCOLOR= attribute is valid only in markup family
destinations.
See
color style attribute value on page 877
ASIS=ON | OFF
specifies how to handle leading spaces and line breaks in an HTML document.
ON
prints text with leading spaces and line breaks, in the same manner as the
LISTING output.
OFF
trims leading spaces and ignores line breaks.
Default
OFF
Restriction
The ASIS= attribute is valid only in markup family destinations, printer
family destinations, and the RTF destination.
BACKGROUNDCOLOR=color
specifies the color of the background of the tables, table cells, or graphs.
Alias
BACKGROUND=
Restriction
The BACKGROUNDCOLOR= attribute is valid only in markup
family destinations, printer family destinations, and the RTF
destination.
Interaction
The CBACK= option in the SAS/GRAPH GOPTIONS statement
overrides the BACKGROUNDCOLOR= attribute.
Tip
Generally, the background color of the table cell overrides the
background color of the table. You see the background color for the
table only as the space between table cells (see
“BORDERSPACING=dimension” on page 851).
See
color style attribute value on page 877
Examples
“Example 1: Creating a Stand-Alone Style” in Chapter 14 of SAS 9.4
Output Delivery System: Procedures Guide
“Example 3: Using the CLASS Statement” in Chapter 14 of SAS 9.4
Output Delivery System: Procedures Guide
BACKGROUNDIMAGE="string"
specifies an image in a table, table cell, or graph to use as the background. Viewers
can tile or stretch the image as the background for the HTML table or graph that the
procedure creates. For graphs, the specified image is stretched.
Style Attributes Detailed Information 845
string
is the name of a GIF, JPEG, or PNG file. Use a simple filename, a complete path,
or a URL. However, the most versatile approach is to use a simple filename and
to place all image files in the local directory.
Restriction
The BACKGROUNDIMAGE= attribute is valid in markup family
destinations, the PCL destination, and the PS destination. It is also
valid in the TAGSETS.RTF destination, but the background image
applies to the RTF document and not to a table or a table cell.
Interaction
The BACKGROUNDIMAGE= attribute is overridden by the IBACK=
and IMAGESTYLE=FIT options in the SAS/GRAPH GOPTIONS
statement.
See
string attribute value on page 881
BACKGROUNDPOSITION=position
specifies the position of the background of the tables, table cells, or graphs.
position can be one of the following:
BOTTOM
BOTTOM_CENTER
BOTTOM_LEFT
BOTTOM_RIGHT
CENTER
CENTER_BOTTOM
CENTER_CENTER
CENTER_LEFT
CENTER_RIGHT
CENTER_TOP
LEFT
LEFT_BOTTOM
LEFT_CENTER
LEFT_TOP
RIGHT
RIGHT_BOTTOM
RIGHT_CENTER
RIGHT_TOP
TOP
TOP_CENTER
TOP_LEFT
TOP_RIGHT
Default
TOP_LEFT
846 Chapter 11 Style Attributes

Get SAS 9.4 Output Delivery System, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.