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
|
Portion of Graph Affected
|
|
|
|
|
|
Graph size and outer
border appearance
|
|
|
|
|
|
|
|
|
Border around graph
wall, legend border, borders to complete axis frame
|
|
|
All charts within the
graph
|
|
|
Text font and color
for point and line labels
|
|
|
|
|
|
Text font and color
for footnotes
|
|
|
Horizontal and vertical
grid lines drawn at major tick marks
|
|
|
Horizontal and vertical
grid lines drawn at major tick marks
|
|
|
Background color of
the legend
|
|
|
Outline properties for
fill areas such as bars, pie slices, and box plots.
|
|
|
Text font and color
for titles
|
|
|
Text font and color
for axis tick values and legend values
|
|
|
Vertical walls bounded
by axes
|
|
1Font-attributes can be one of the following: FONTFAMILY=, FONTSIZE=, FONTSTYLE=,
FONTWEIGHT=.
|
Style Elements Affecting Device-Based Non-Grouped Graphical
Data Representation
|
Portion of Graph Affected
|
|
|
Cutline attributes for
a dendogram
|
|
|
Final data for the waterfall
chart. Color applies to filled areas.
|
|
|
Initial data for the
waterfall chart. Color applies to filled areas.
|
|
|
Other data for the graph.
Color applies to filled areas.
|
|
|
Overflow data for the
graph. Color applies to filled areas. ContrastColor applies to markers
and lines.
|
|
|
Underflow data for the
graph. Color applies to filled areas. ContrastColor applies to markers
and lines.
|
|
|
Line contours, markers,
and data labels with segmented range color response
|
|
|
Gradient contours, surfaces,
markers, and data labels with continuous color response
|
|
|
Line contours, markers,
and data labels with segmented range color response
|
|
|
Gradient contours, surfaces,
markers, and data labels with continuous color response
|
|
Style Elements Affecting Device-Based Grouped Graphical Data
Representation
|
Portion of Graph Affected
|
|
|
Primitives related to
1st grouped data items. Color applies to filled areas. ContrastColor
applies to markers and lines.
|
|
|
Primitives related to
2nd grouped data items
|
|
|
Primitives related to
3rd grouped data items
|
|
|
Primitives related to
4th grouped data items
|
|
|
Primitives related to
5th grouped data items
|
|
|
Primitives related to
6th grouped data items
|
|
|
Primitives related to
7th grouped data items
|
|
|
Primitives related to
8th grouped data items
|
|
|
Primitives related to
9th grouped data items
|
|
|
Primitives related to
10th grouped data items
|
|
|
Primitives related to
11th grouped data items
|
|
|
Primitives related to
12th grouped data items
|
|