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 devices 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.
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.
Device-Based Graph Style Elements: General Graph Appearance
Style Element
Portion of Graph Affected
Recognized Attributes
DropShadowStyle
Used with text types
Color
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-attributes1
Color
GraphFloor
3D floor
BackgroundColor
Transparency
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
VerticalAlign
TextAlign
GraphFootnoteText
Text font and color for footnotes
Font or font-attributes1
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
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-attributes1
Color
GraphValueText
Text font and color for axis tick values and legend values
Font or font-attributes1
Color
GraphWalls
Vertical walls bounded by axes
Transparency
BackgroundColor
Gradient_Direction
StartColor
EndColor
BackgroundImage
Image
1Font-attributes can be one of the following: FONTFAMILY=, FONTSIZE=, FONTSTYLE=, FONTWEIGHT=.
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
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
Style Elements Affecting Device-Based Grouped Graphical Data Representation
Style Element
Portion of Graph Affected
Default Attributes
GraphData1
Primitives related to 1st grouped data items. Color applies to filled areas. ContrastColor applies to markers and lines.
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData2
Primitives related to 2nd grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData3
Primitives related to 3rd grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData4
Primitives related to 4th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData5
Primitives related to 5th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData6
Primitives related to 6th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData7
Primitives related to 7th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData8
Primitives related to 8th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData9
Primitives related to 9th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData10
Primitives related to 10th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData11
Primitives related to 11th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image
GraphData12
Primitives related to 12th grouped data items
Color
ContrastColor
MarkerSymbol
LineStyle
MarkerSize
LineThickness
Gradient_Direction
StartColor
EndColor
BackGroundImage
Image