I'm creating U charts with Proc Shewhart. The desired vaxis heights for each defect bucket are specified but occasionally we have excursions that are greater than the specified vertical axis height. In these instances the vaxis option is overridden. This causes the chart to expand the vertical axis and makes interpreting the bulk of the data challenging. Is there a way to strictly enforce the desired vaxis setting in the face of excursions? I'll attach a snapshot of one example. Thanks for any help on this. %let defects='List of defects' %let orderlabel='List of descriptions' %let maxaxis='List of max vertical axes' More SAS code and preprocessing proc shewhart data=defects_per_grp1 gout=shew; by defect_category; uchart defects*seq(year month)%if %upcase(&b)=Y %then =&product.b; /npanelpos=200 subgroupn=ngrp nolegend html=alt vaxis=0 to &this_max_axis by &this_incr vref=&median lvref=3 cvref=green; label year="Year" month='Month' %if %upcase(&b)=Y %then &product.b="Product";; run;
... View more