Appendix 2
Graph Style Elements Used by
ODS Graphics
About the Graphical Style Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
General Graph Appearance Style Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Graphical Data Representation Style Elements (Non-Grouped Data) . . . . . . . . . 572
Graphical Data Representation Style Elements (Grouped Data) . . . . . . . . . . . . . 576
Display Style Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
About the Graphical Style Elements
The style elements that are described in this appendix affect template-based graphics.
These style elements can be specified by Graph Template Language appearance options
or used in style templates. The graphical style elements fall into the following
categories:
general graph appearance
graphical data representation (non-grouped data)
graphical data representation (grouped data)
display
The following sections list the graphical style elements that are in each of these
categories. For additional information about ODS style elements, see SAS Output
Delivery System: User's Guide
General Graph Appearance Style Elements
The following table lists the general graph appearance style elements.
569
Table A2.1 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
GraphFootnoteText Text font and color for footnote(s) Font
or font-attributes
*
Color
570 Appendix 2 Graph Style Elements Used by ODS Graphics
Style Element Portion of Graph Affected Recognized Attributes
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
General Graph Appearance Style Elements 571

Get SAS 9.4 Graph Template Language, 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.