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 11.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 975
For complete documentation on the style attributes that can be specified in each style
element, see “Style Attributes Overview” in SAS Output Delivery System: Procedures
Guide.
Table 11.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
976 Chapter 11 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 977
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 11.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
978 Chapter 11 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 979

Get SAS 9.4 Output Delivery System, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.