Previous Page | Next Page

DATA Step Graphics Interface Dictionary

BAR



Draws a rectangle
Operating States: SGOP
Return Codes: 0, 4, 76, 79, 80, 86

Syntax
Description
Argument Definitions
See Also

Syntax

return-code-variable=GDRAW('BAR', x1, y1, x2, y2);


Description

The GDRAW('BAR', . . . ) function draws a rectangular bar whose sides are parallel to the sides of the display area. The fill attributes and bundles affect the appearance of this graphics element. See DATA Step Graphics Interface Routines for a list of these attributes. Points that Draw a Bar illustrates the arguments used with GDRAW('BAR', . . . ).

Points that Draw a Bar

[Points that Draw a Box]


Argument Definitions

x1

numeric constant or numeric variable name; refers to the x coordinate of one corner of the bar.

y1

numeric constant or numeric variable name; refers to the y coordinate of one corner of the bar.

x2

numeric constant or numeric variable name; refers to the x coordinate of the corner of the bar that is diagonally opposite to the corner of (x1,y1).

y2

numeric constant or numeric variable name; refers to the y coordinate of the corner of the bar that is diagonally opposite to the corner of (x1,y1).


See Also

FILL

FILCOLOR

FILINDEX

FILREP

FILTYPE

FILSTYLE

HTML

Previous Page | Next Page | Top of Page