Procedure features: |
PROC GKPI statement option: MODE=RAISED |
HSLIDER statement
options:
|
ACTUAL= |
|
BOUNDS= |
|
COLORS= |
|
ACTIVECOLORS= | |
|
Sample Library
Member: |
GKPGRSLD
|
![[horizontal slider using default colors as active colors]](images/gkpgrsld.gif)
The
default colors described in Default Colors can be used as the active colors instead
of the inactive colors. This example uses the same value of gray for all segments
for the inactive color. It uses the red, orange, yellow-green, and green colors
shown in GKPI Procedure Default Colors as the active colors.
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
goptions reset=all device=javaimg xpixels=180 ypixels=110; |
![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;
hslider actual=-6.7 bounds=(-10 -5 0 5 10) /
colors=(cxB2B2B2 cxB2B2B2 cxB2B2B2 cxB2B2B2)
activecolors=(cxD06959 cxE1A05D cxBDCD5F cx84AF5B);
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.