Style Element
Portion of Graph
Affected Recognized Attributes Possible Values
GraphEllipse Display options for
confidence ellipses
DisplayOpts "Outline"
GraphHistogram Display options for
histograms
DisplayOpts "Fill outline"
GraphSkins One or more display
features
DataSkin CRISP
GLOSS
MATTE
NONE
PRESSED
KpiSkin BASIC
MODERN
NONE
ONYX
SATIN
Style Elements Affecting Device-Based Graphics
Device-based graphics are all SAS/GRAPH output where there is a user-specified or
default device (DEVICE= option) that controls certain aspects of the graphical output.
Supplied device drivers are stored in the Sashelp.Devices catalog. Examples of device
drivers are SASPRTC, GIF, WIN, ACTIVEX, PDF, and SVG. Common SAS/GRAPH
procedures that produce device-based graphics are GPLOT, GCHART, and GMAP.
Most device-based graphics produce a GRSEG catalog entry as output and use the
GOPTIONS statement to control the graphical environment.
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.
Note: These style elements affect device-based graphics only when the GSTYLE
system option is in effect (this is the default for SAS 9.2). If the NOGSTYLE system
option is specified, graphs do not use any style information. For more information
about the GSTYLE system option, see SAS System Options: Reference.
Table 10.17 Device-Based Graph Style Elements: General Graph Appearance
Style Element Portion of Graph Affected Recognized Attributes
DropShadowStyle Used with text types Color
824 Chapter 10 • Style Elements
Style Element Portion of Graph Affected Recognized Attributes
Graph Graph size and outer border
appearance
OutputWidth
OutputHeight
BorderColor
BorderWidth
CellPadding
CellSpacing
GraphAxisLines X, Y, and Z axis lines Color
LineStyle
LineThickness
GraphBackground Background of the graph Transparency
BackgroundColor
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
VerticalAlign
TextAlign
GraphBorderLines Border around graph wall, legend
border, borders to complete axis frame
Color
LineThickness
LineStyle
GraphCharts All charts within the graph Transparency
BackgroundColor
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
VerticalAlign
TextAlign
GraphDataText Text font and color for point and line
labels
Font or font-attributes
*
Color
Style Elements Affecting Device-Based Graphics 825
Style Element Portion of Graph Affected Recognized Attributes
GraphFloor 3D floor BackgroundColor
Transparency
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
VerticalAlign
TextAlign
GraphFootnoteText Text font and color for footnotes
Font or font-attributes
*
Color
GraphGridLines Horizontal and vertical grid lines
drawn at major tick marks
Color
LineStyle
LineThickness
Transparency
displayopts
GraphGridLines Horizontal and vertical grid lines
drawn at major tick marks
Color
LineStyle
LineThickness
Transparency
displayopts
GraphLegendBackground Background color of the legend Color
FrameBorder
Transparency
GraphOutlines Outline properties for fill areas such as
bars, pie slices, and box plots.
Color
LineStyle
LineThickness
GraphTitleText Text font and color for titles
Font or font-attributes
*
Color
GraphValueText Text font and color for axis tick values
and legend values
Font or font-attributes
*
Color
826 Chapter 10 • Style Elements
Style Element Portion of Graph Affected Recognized Attributes
GraphWalls Vertical walls bounded by axes Transparency
BackgroundColor
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
*
Font-attributes can be one of the following: FONTFAMILY=, FONTSIZE=, FONTSTYLE=, FONTWEIGHT=.
Table 10.18 Style Elements Affecting Device-Based Non-Grouped Graphical Data Representation
Style Element Portion of Graph Affected Default Attributes
GraphCutLine Cutline attributes for a dendogram Color
LineStyle
GraphFinal Final data for the waterfall chart.
Color applies to filled areas.
Color
ContrastColor
LineStyle
LineThickness
MarkerSize
MarkerSymbol
TextColor
GraphInitial Initial data for the waterfall chart.
Color applies to filled areas.
Color
ContrastColor
LineStyle
LineThickness
MarkerSize
MarkerSymbol
TextColor
GraphOther Other data for the graph. Color applies
to filled areas.
Color
ContrastColor
LineStyle
LineThickness
MarkerSize
MarkerSymbol
TextColor
Style Elements Affecting Device-Based Graphics 827
Style Element Portion of Graph Affected Default Attributes
GraphOverflow Overflow data for the graph. Color
applies to filled areas. ContrastColor
applies to markers and lines.
Color
ContrastColor
LineStyle
LineThickness
MarkerSize
MarkerSymbol
TextColor
GraphUnderflow Underflow data for the graph. Color
applies to filled areas. ContrastColor
applies to markers and lines.
Color
ContrastColor
LineStyle
LineThickness
MarkerSize
MarkerSymbol
TextColor
ThreeColorAltRamp Line contours, markers, and data
labels with segmented range color
response
StartColor
NeutralColor
EndColor
ThreeColorRamp Gradient contours, surfaces, markers,
and data labels with continuous color
response
StartColor
NeutralColor
EndColor
TwoColorAltRamp Line contours, markers, and data
labels with segmented range color
response
StartColor
EndColor
TwoColorRamp Gradient contours, surfaces, markers,
and data labels with continuous color
response
StartColor
EndColor
828 Chapter 10 • Style Elements
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.