|
Chapter Contents |
Previous |
Next |
| The GANTT Procedure |
title f=swiss 'Gantt Example 18';
title2 f=swiss
'Logic Gantt Chart: AON Representation and LEVEL= Option';
* sort the data;
proc sort; by e_start;
* set vpos to 50 and hpos to 100;
goptions vpos=50 hpos=100;
* set background to ltgray;
goptions cback=ltgray;
* set up required pattern statements;
pattern1 c=green v=s; /* duration of a noncrit. activity */
pattern2 c=green v=e; /* slack time for a noncrit. act. */
pattern3 c=red v=s; /* duration of a critical activity */
pattern4 c=green v=s; /* slack time for a supercrit. act. */
pattern5 c=green v=e; /* duration of a supercrit. act. */
pattern6 c=cyan v=s; /* actual duration of an activity */
pattern7 c=blue v=x1; /* break due to a holiday */
* draw the Logic Gantt chart;
proc gantt data=widgela holidata=holidays;
chart / holiday=(holiday) holifin=(holifin)
a_start=sdate a_finish=fdate
cmile=black dur=days
font=swiss
activity=task successor=(succ1-succ3)
level=2
cprec=blue
compress;
id task;
run;
Output 4.18.1: Drawing a Logic Gantt Chart Using AON Representation
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.