Chapter Contents

Previous

Next
CBOX Variable

CBOX Variable



Draws a solid box behind the text or symbol and fills the box with the specified color.

Type: character
Length: 8
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 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 CBORDER 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 and adds a solid, colored box to all text or symbols. To turn off boxing for subsequent text or symbols, specify CBOX=' '.

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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.