DATA Step Graphics Interface Dictionary |
Draws a rectangle
Operating States: |
SGOP
|
Return Codes: |
0, 4, 76, 79, 80, 86
|
return-code-variable=GDRAW('BAR', x1, y1, x2, y2);
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]](images/dsgibar.gif)
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). |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.