Procedure features: |
PROC GKPI statement
option: MODE=RAISED |
TRAFFICLIGHT statement options:
|
ACTUAL= |
|
BOUNDS= |
|
COLORS= |
|
LABEL= |
|
NOAVALUE | |
|
Sample Library
Member: |
GKPTRAFF
|
![[traffic light with red at the top]](images/gkptraff.gif)
This
example creates a traffic light that uses primary green, yellow,
and red colors. Colors are applied to vertical KPI charts from the bottom
up, so to get red at the top, you must specify red last in the list of colors.
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
goptions reset=all device=javaimg xpixels=120 ypixels=210; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
ods listing close;
ods html style=listing; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc gkpi mode=raised;
trafficlight actual=598 bounds=(1500 900 600 0) /
colors=(green yellow red) noavalue
label="New Subscriptions";
run; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
quit;
ods html close; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.