The GANTT 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 GANTT options can depend on the current ODS style definition. Table 8.30 lists these PROC GANTT options and explains the order in which PROC GANTT 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.
Option |
Search Order for Default Color |
|
---|---|---|
1. |
The Color attribute of the GraphAxisLines element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
1. |
No color filling the axis area (if the GSTYLE system option is not in effect) |
|
2. |
The Color attribute of the GraphWalls element of the current ODS style definition |
|
3. |
No color filling the axis area |
|
1. |
The Color attribute of the GraphGridLines element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
1. |
The Color attribute of the GraphConnectLine element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
1. |
The Color attribute of the GraphReference element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
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 |
|
1. |
The Color attribute of the GraphReference element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
1. |
The Color attribute of the GraphGridLines element of the current ODS style definition |
|
2. |
The Color attribute of the GraphDataDefault element of the current ODS style definition |
|
3. |
The first color in the COLORS= list in the GOPTIONS statement |
|
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.
Copyright © SAS Institute, Inc. All Rights Reserved.