Style Element Description Inherits from
Table Header and Footer Cells
RowFooterStrongFixed Controls a strong (more
emphasized) row footer (label)
that requests a fixed font
RowFooterStrong
*
An abstract style element. Abstract elements are not explicitly used in the ODS output. They are used for
inheritance purposes only. Because of this, abstract styles will not appear in the output of destinations that
generate a style sheet.
Table 10.12 Style Elements Affecting PROC TABULATE Captions
Style Element Description Inherits from
PROC TABULATE Captions
Caption Controls captions in PROC
TABULATE
HeadersAndFooters
*
BeforeCaption Controls the caption that comes
before a table
Caption
AfterCaption Controls the caption that comes
after a table
Caption
*
An abstract style element. Abstract elements are not explicitly used in the ODS output. They are used for
inheritance purposes only. Because of this, abstract styles will not appear in the output of destinations that
generate a style sheet.
Style Elements Affecting Template-Based
Graphics
The following style elements affect template-based graphics and can be specified by
Graph Template Language appearance options or used in styles. Template-based
graphics include all SAS/GRAPH output where a compiled ODS template of type
STATGRAPH is used to produce graphical output. Supplied templates are stored in
Sashelp.Tmplmst. Device drivers and some global statements such as SYMBOL,
PATTERN, AXIS, and LEGEND have no affect on this form of graphics. Common
SAS/GRAPH procedures that produce template-based graphics are SGPLOT,
SGPANEL, SGSCATTER, and SGRENDER in addition to many SAS/STAT,
SAS/ETS, and SAS/QC procedures. ODS graphics always produce output as image files
and use the ODS GRAPHICS statement to control the graphical environment.
Certain style elements were created to be used with specific plots or graphs. For
example, the style element GraphFit2 is best used to modify secondary fit lines. The
style element GraphConfidence2 was created to modify secondary confidence bands.
The table below lists each style element, the portion of the graph that it affects or was
created to use with, and the default attribute values. Attribute values can be changed
with PROC TEMPLATE, as stated above.
Style Elements Affecting Template-Based Graphics 815
For complete documentation on the style attributes that can be specified in each style
element, see “Style Attributes Overview” in Chapter 14 of SAS 9.4 Output Delivery
System: Procedures Guide.
Table 10.13 Graph Style Elements: General Graph Appearance
Style Element Portion of Graph Affected Recognized Attributes
Graph Graph size and outer border
appearance
OutputWidth
OutputHeight
BorderColor
BorderWidth
CellPadding
CellSpacing
GraphAnnoLine Annotation lines ContrastColor
LineStyle
LineThickness
GraphAnnoShape Annotation closed shapes such as
circles, and squares
Color
ContrastColor
LineThickness
LineStyle
Transparency
GraphAnnoText Annotation text Font
or font-attributes
*
Color
MarkerSize
MarkerSymbol
GraphAxisLines X, Y and Z axis lines ContrastColor
LineStyle
LineThickness
TickDisplay
GraphBackground Background of the graph Color
Transparency
GraphBorderLines Border around graph wall, legend
border, borders to complete axis frame
ContrastColor
LineThickness
LineStyle
GraphDataText Text font and color for point and line
labels
Font
or font-attributes
*
Color
816 Chapter 10 Style Elements
Style Element Portion of Graph Affected Recognized Attributes
GraphFootnoteText Text font and color for footnote(s) Font
or font-attributes
*
Color
GraphGridLines Horizontal and vertical grid lines
drawn at major tick marks
Color
ContrastColor
DisplayOpts
LineStyle
LineThickness
GraphHeaderBackground Background color of the legend title Color
GraphLabelText Text font and color for axis labels and
legend titles
Font
or font-attributes
*
Color
GraphLegendBackground Background color of the legend Color
FrameBorder
GraphMinorGridLines Appearance of the grid lines. ContrastColor
DisplayOpts
LineStyle
LineThickness
GraphOutlines Outline properties for fill areas such as
bars, pie slices, box plots, ellipses, and
histograms
Color
ContrastColor
LineStyle
LineThickness
GraphReference Horizontal and vertical reference lines
and drop lines
ContrastColor
LineStyle
LineThickness
GraphTitleText Text font and color for title(s) Font
or font-attributes
*
Color
GraphUnicodeText Text font for unicode values Font
orfont-attributes
*
Color
GraphValueText Text font and color for axis tick values
and legend values
Font
or font-attributes
*
Color
Style Elements Affecting Template-Based Graphics 817
Style Element Portion of Graph Affected Recognized Attributes
GraphWalls Vertical wall(s) bounded by axes Color
FrameBorder
LineThickness
LineStyle
ContrastColor
*
Font-attributes can be one of the following: FONTFAMILY=, FONTSIZE=, FONTSTYLE=, FONTWEIGHT=.
Table 10.14 Style Elements Affecting Graphical Data Representation
Style Element Portion of Graph Affected Recognized Attributes
GraphBoxMean Marker for mean ContrastColor
MarkerSize
MarkerSymbol
GraphBoxMedian Line for median ContrastColor
LineStyle
LineThickness
GraphBoxWhisker Box whiskers and serifs ConstrastColor
LineStyle
LineThickness
GraphConfidence Primary confidence lines and bands,
colors for bands and lines
ContrastColor
Color
MarkerSize
MarkerSymbol
LineStyle
LineThickness
GraphConfidence2 Secondary confidence lines and bands,
color for bands, and contrast color for
lines
ContrastColor
Color
MarkerSize
MarkerSymbol
LineStyle
LineThickness
GraphConnectLine Line for connecting boxes or bars ContrastColor
LineStyle
LineThickness
818 Chapter 10 Style Elements
Style Element Portion of Graph Affected Recognized Attributes
GraphDataDefault Primitives related to non-grouped data
items, colors for filled areas, markers,
and lines
ContrastColor
Color
MarkerSize
MarkerSymbol
LineStyle
LineThickness
StartColor
NeutralColor
EndColor
GraphCutLine Cutline attributes for a dendogram Color
LineStyle
GraphDataDefault Primitives related to non-grouped data
items, colors for filled areas, markers,
and lines
Color
ContrastColor
MarkerSymbol
MarkerSize
LineStyle
LineThickness
StartColor
NeutralColor
EndColor
GraphError Error line or error bar fill,
ContrastColor for lines, Color for bar
fill
CapStyle
ContrastColor
Color
LineStyle
Transparency
GraphFit Primary fit lines such as a normal
density curve
ContrastColor
Color
MarkerSize
MarkerSymbol
LineStyle
LineThickness
GraphFit2 Secondary fit lines such as a kernel
density curve
ContrastColor
Color
MarkerSize
MarkerSymbol
LineStyle
LineThickness
Style Elements Affecting Template-Based Graphics 819

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.