Previous Page | Next Page

The GKPI Procedure

Example 2: Creating a Gray Scale Bullet Graph


Procedure features:

PROC GKPI statement option: MODE=RAISED

VBULLET statement options:

ACTUAL=

BOUNDS=

COLORS=

TARGET=

Sample Library Member: GKPGRBUL

[vertical speedometer in gray scale]

This example creates a vertical bullet graph. It uses a gray scale color scheme that provides a good contrast between segments. This color scheme can be used in output that is included in publications that are not in color.

 Note about code
goptions reset=all device=javaimg xpixels=130 ypixels=250;
 Note about code
ods listing close;
ods html style=listing;
 Note about code
proc gkpi mode=raised;
vbullet
   actual=.58  bounds=(0 .22 .38 .52 .68 1) / target=.75
   colors=(cx747474 cx8C8C8C cxB2B2B2 cxD2D2D2 cxE6E6E6);
run;
 Note about code
quit;
ods html close;

Previous Page | Next Page | Top of Page