Previous Page | Next Page

Annotate Dictionary

CBOX Variable



Draws a solid box behind the text or symbol and fills the box with the specified color.
Type: character
Length: 8 for color codes and up to 64 for color names
See also: CBORDER

Syntax
Functions
Details

Syntax

CBOX='color' | 'CBACK';

color

specifies the color that fills the box. Color is any SAS/GRAPH color name. See SAS/GRAPH Colors and Images for more information about specifying colors.

Specifying a null value for color (CBOX=' ') cancels the CBOX variable.

CBACK

fills the box with the same color as the background color of the graph. The background color is either (1) the color specified by the CBACK= graphics option or (2) the default background color for the device.


Functions

You can use the CBOX variable with these functions:

LABEL
SYMBOL

Details

Once you have specified CBOX, it remains in effect for all subsequent observations that use the LABEL or SYMBOL function.

The color of the text or symbol within the box is controlled by the COLOR variable.

By default, the solid box has no border. To add a colored border to the box, use the CBORDER variable in conjunction with CBOX.

Previous Page | Next Page | Top of Page