How the Style Elements Map to Parts of a Graph

About the Mappings

The style elements affect particular graph elements and can be modified by using the Graphics Style Editor within ODS Graphics Designer.
The following sections show the relationship between style elements and graph elements as follows:
  • Mapping by Style Elements
    lists style elements along with their associated graph elements. This mapping is useful when you are working in the Graph Style Editor and want to know which portions of the graph are affected by a particular style element.
  • Mapping by Graph Components
    lists graph components along with their associated style elements. This mapping is useful when you know which portions of the graph you want to change, but need to know which style elements to modify.
For more information about the style elements, see the SAS/GRAPH: Statistical Graphics Procedures Guide.

Mapping by Style Elements

The following tables list style elements and their associated graphics elements. The tables here reflect the style element groups that appear in the Graph Style Editor.
Note:
  • The tables give you a general guide, but changes to a style element might affect graph elements not listed here.
  • Fill areas generally use the Color attribute of a style element. Markers and lines use the Contrast Color attribute.
Text Elements
Element
What the Element Affects
GraphDataText
text font and color for point labels
GraphFootnoteText
text font and color for footnotes
GraphLabelText
text font and color for axis labels and legend titles
GraphTitleText
text font and color for titles
GraphValueText
text font and color for cell headers, text entries, contour labels, axis tick values, and legend values
Plot Elements
Element
What the Element Affects
GraphDataDefault
visual attributes related to non-grouped data items
color for filled regions such as bars, histogram bins, and band areas
marker and line color
marker symbol and size
line pattern and thickness
GraphData1–GraphData12
visual attributes related to grouped data items for up to 12 group values
color for filled regions such as bars, histogram bins, and band areas
line and marker color
Special Plot Elements
Element
What the Element Affects
GraphBox
display options for box plots
(the display options are listed in the element's text box; options should be separated with a blank space)
GraphBoxMean
marker for the mean in box plots
GraphBoxMedian
line for the median in box plots
GraphBoxWhisker
whiskers and serifs in box plots
Background Elements
Element
What the Element Affects
GraphBackground
fill color for the background of the graph
GraphHeaderBackground
fill color for the background of the cell headers in classification panels
GraphLegendBackground
fill color for the background of the global legend
GraphWalls
visual attributes for the background and border of the walls that are bounded by the axes
Gradient Elements
Element
What the Element Affects
ThreeColorAltRamp
line contours, markers, and data labels with a segmented range three-color response
(not used by default in the designer, though you can change the properties of a filled contour to point to this element)
ThreeColorRamp
gradient contours, surfaces, markers, and data labels with continuous three-color response
TwoColorAltRamp
line contours, markers, and data labels with a segmented range two-color response
(not used by default in the designer, though you can change the properties of a filled contour to point to this element)
TwoColorRamp
gradient contours, surfaces, markers, and data labels with continuous two-color response
(not used by default in the designer, though you can change the properties of a filled contour to point to this element)
Line Elements
Element
What the Element Affects
GraphAxisLines
axis lines and tick marks
GraphBorderLines
graph border
legend borders
other borders
GraphFit
primary fit line, such as a normal density curve
(fill, marker, and text attributes have the same effect as the marker or line color attributes)
GraphFit2
secondary fit line, such as a kernel density curve
(fill, marker, and text attributes have the same effect as the marker or line color attributes)
GraphGridLines
horizontal and vertical grid lines that are drawn at major tick marks
display options (auto, on, off)
GraphOutlines
outline properties for fill areas, such as bars, box plots, and histograms
GraphPrediction
prediction lines (not currently used by ODS Graphics Designer)
GraphReference
horizontal and vertical reference lines
drop lines
Other Elements
Element
What the Element Affects
GraphAltBlock
alternate fill color for block plots
GraphBand
display options for confidence bands (fill outline)
GraphBlock
fill color for block plots
GraphConfidence
primary confidence lines and bands
(marker and text attributes have the same effect as the marker or line color attributes)
GraphConfidence2
secondary confidence lines and bands
(marker and text attributes have the same effect as the marker or line color attributes)
Contour
display options for contour plots
Note: The display options are set for this style element when the plot is created. The display options cannot be changed in the Graph Style Editor.
GraphControlLimits
not used by ODS Graphics Designer
GraphEllipse
display options for confidence ellipses (outline, fill)
GraphError
error line or error bar fill
(marker and text attributes have the same effect as the marker or line color attributes)
GraphHistogram
display options for histograms (fill, outline)
GraphOutlier
outlier data for the graph
GraphPredictionLimits
fills for prediction limits (not currently used by ODS Graphics Designer)
UnicodeText
text font for Unicode values

Mapping by Graph Components

The following table lists parts of a graph (components) and their associated style elements.
Note:
  • In the table, GraphDataDefault applies fill, marker, and line attributes for non-grouped data items. For data items that are grouped (up to 12 groupings), the editor uses the GraphData1–GraphData12 style elements.
  • Fill areas generally use the Color attribute of a style element. Markers and lines use the Contrast Color attribute.
Graph Component
Style Attributes
Corresponding Style Element
scatter plot
markers
GraphDataDefault
series plot
lines and markers
GraphDataDefault
needle plot
lines and markers
GraphDataDefault
step plot
lines and markers
GraphDataDefault
histogram
bin fill and outline
GraphDataDefault
outline
GraphOutlines
box plot
fill and outline
GraphDataDefault
marker for the mean
GraphBoxMean
line for the median
GraphBoxMedian
whiskers
GraphBoxWhisker
display options
GraphBox
bar plot
fill
GraphDataDefault
outline
GraphOutlines
error bar (used with various plots)
lines
GraphError
band plot
fill and outline
GraphConfidence
vector plot
lines
GraphDataDefault
contour plot
lines
applies to these contour types: Line, LabeledLine, LabeledLineFill, LineGradient, LabeledLineGradient
GraphDataDefault
fill
applies to these contour types: Fill, Gradient, LineFill, LineGradient, LabeledLineFill, LabeledLineGradient
ThreeColorRamp
labels
applies to these contour types: LabeledLine, LabeledLineFill, LabeledLineGradient
GraphValueText
fringe plot
lines
GraphDataDefault
normal and kernel plots
line
GraphFit
loess, regression, PBspline
line
GraphFit
model band fill and outline (CLM and CLI)
GraphConfidence
ellipse
outline and markers
GraphDataDefault
reference and drop lines
line
GraphReference
line (point-and-slope)
line
GraphDataDefault
block, stack block plots
alternate fill colors
GraphBlock
GraphAltBlock
outline
GraphDataDefault
values
GraphValueText
labels
GraphLabelText
title
text
GraphTitleText
footnote
text
GraphFootnoteText
text entry
text
GraphValueText
cell header
text
GraphValueText
legend
title text
GraphLabelText
title background color
GraphHeaderBackground
legend background color
GraphLegendBackground
values
GraphValueText
graph
fill color for the background of the graph
GraphBackground
graph border
GraphBorderLines
color for the background and border of the walls
GraphWalls
axis
text for the axis label
GraphLabelText
text for the axis tick values
GraphValueText
axis lines and tick marks
GraphAxisLines
horizontal and vertical grid lines that are drawn at major tick marks
display options (auto, on, off)
GraphGridLines