General Syntax for Attribute Options

Most statements provide options that enable you to specify attributes for the fills, lines, data markers, or text that is used in the display. For example, many plots provide a DATALABELATTRS= option that specifies the attributes of the data labels. This appendix discusses the general syntax for those options and the valid values for they accept.
A statement’s attribute options use the following general syntax:
OPTIONATTRS = style-element | style-element (options) | (options)
style-element
Name of a style element. Only style attributes relevant for rendering the fill, line, data marker, or text are used. Example:
DATALABELATTRS=GRAPHVALUETEXT
style-element (options)
Name of a style element, plus individual options to be used as style overrides. Any options not specified are derived from the specified style-element.Example:
DATALABELATTRS=GRAPHVALUETEXT(SIZE=10pt)
(options)
Individual options. Any options not specified are derived from the default style element. Examples:
DATALABELATTRS=(FAMILY="Arial" SIZE=10pt)
DATALABELATTRS=(FAMILY=GraphValueText:FontFamily)
Depending on the attribute option used, the options might be fill-options, line-options, marker-options, or text-options.
In general, any relevant attribute that is not specified default to some internal value, typically those from the default style element of the style-element you specify for the attributes. When choosing a style element, you should use an element of the correct type. See SAS Output Delivery System: User's Guide for a list of style elements and their types.