Chapter Contents |
Previous |
Next |
The GANTT Procedure |
title f=swiss 'Gantt Example 17'; title2 f=swiss 'Using the HEIGHT= and HTOFF= options'; * set vpos to 50 and hpos to 100; goptions vpos=50 hpos=100; * 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=black v=x1; /* break due to a holiday */ pattern8 c=blue v=s; /* res. constrained dur of an act. */ pattern9 c=brown v=s; /* baseline duration of an activity */ proc sort data=spltschd; by e_start; goptions cback=cyan; * draw Gantt chart using height and htoff equal to 2; proc gantt data=spltschd holidata=holdata; chart / holiday=(hol) font=swiss dur=days cmile=green height=2 htoff=2 compress; id task; run;Output 4.17.1: Using the HEIGHT= and HTOFF= options
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.