The NETDRAW Procedure

ODS Style Definitions

ODS style definitions control the overall look of your output. An ODS style definition is composed of a set of style elements. A style element is a collection of style attributes that apply to a particular feature or aspect of the output. A value can be specified for each attribute in a style definition.

If the GSTYLE system option is in effect, then the default values of some PROC NETDRAW options can depend on the current ODS style definition. Table 7.18 lists these PROC NETDRAW options and explains the order in which PROC NETDRAW searches for each option's default value. The order assumes that the GSTYLE system option is in effect; if that is not the case, then the steps referring to ODS style definitions are ignored.

Table 7.18: PROC NETDRAW Options: Search Orders for Default Values
Option   Search Order for Default Value
CARCS=1.the Color attribute of the GraphConnectLine element of the current ODS style definition
 2.the fourth color in the COLORS= list of the GOPTIONS statement
CAXIS=1.the Color attribute of the GraphAxisLines element of the current ODS style definition
 2.the text color
CREF=1.the Color attribute of the GraphReference element of the current ODS style definition
 2.the text color
CREFBRK=1.the Color attribute of the GraphReference element of the current ODS style definition
 2.the text color
CTEXT=1.the value specified for the CTEXT= option in the GOPTIONS statement
 2.the Color attribute of the GraphDataText element of the current ODS style definition
 3.the Color attribute of the GraphDataDefault element of the current ODS style definition
 4.the first color in the COLORS= list in the GOPTIONS statement
FONT=1.the value specified for the FTEXT= option in the GOPTIONS statement
 2.the Font attribute of the GraphDataText element of the current ODS style definition
 3.the default hardware font for the graphics output device

In order to create your own style definition or to modify a style definition for use with ODS Graphics, you need to understand the relationships between style elements and graph features. This information is provided in the ODS Statistical Graphics documentation at http://support.sas.com/documentation/onlinedoc/base/ . Style definitions are created and modified with the TEMPLATE procedure. For more information, refer to the section "TEMPLATE Procedure: Creating a Style Definition" in the SAS Output Delivery System User's Guide.

Previous Page | Next Page | Top of Page