Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
XRCHART Statement

Summary of Options

The following tables list the XRCHART statement options by function. For complete descriptions, see Chapter 46, "Dictionary of Options."

Table 43.1: Tabulation Options
TABLEcreates a basic table of subgroup means, subgroup ranges, subgroup sample sizes, and control limits
TABLEALLis equivalent to the options TABLE, TABLECENTRAL, TABLEID, TABLELEGEND, TABLEOUTLIM, and TABLETESTS
TABLECENTRALaugments basic table with values of central lines
TABLEIDaugments basic table with columns for ID variables
TABLELEGENDaugments basic table with legend for tests for special causes
TABLEOUTLIMaugments basic table with columns indicating control limits exceeded
TABLETESTSaugments basic table with columns indicating which tests for special causes are positive

Note that specifying (EXCEPTIONS) after a tabulation option creates a table for exceptional points only.

Table 43.2: Options for Specifying Tests for Special Causes
  
NO3SIGMACHECKallows tests to be applied with control limits other than 3\sigma limits
TESTS=value-list| customized-pattern-listspecifies tests for special causes for the \bar{X} chart
TESTS2=value-list| customized-pattern-listspecifies tests for special causes for the R chart
TEST2RUN=nspecifies length of pattern for Test 2
TEST3RUN=nspecifies length of pattern for Test 3
TESTACROSSapplies tests across phase boundaries
TESTLABEL='label'| (variable)|keywordprovides labels for points where test is positive
TESTLABELn='label'specifies label for n th test for special causes
TESTNMETHOD= STANDARDIZEapplies tests to standardized chart statistics
TESTOVERLAPperforms tests on overlapping patterns of points
ZONELABELSadds labels A, B, and C to zone lines for \bar{X}chart
ZONE2LABELSadds labels A, B, and C to zone lines for R chart
ZONESadds lines to \bar{X} chart delineating zones A, B, and C
ZONES2adds lines to R chart delineating zones A, B, and C
ZONEVALPOS=nspecifies position of ZONEVALUES and ZONE2VALUESlabels
ZONEVALUESlabels \bar{X} chart zone lines with their values
ZONE2VALUESlabels R chart zone lines with their values

Table 43.3: Graphical Options for Displaying Tests for Special Causes
CTESTS=color| test-color-listspecifies color for labels used to identify points where test is positive
CZONES=colorspecifies color for lines and labels delineating zones A, B, and C
LABELFONT=fontspecifies software font for labels at points where test is positive (alias for the TESTFONT= option)
LABELHEIGHT=valuespecifies height of labels at points where test is positive (alias for the TESTHEIGHT= option)
LTESTS=linetypespecifies type of line connecting points where test is positive
LZONES=linetypespecifies line type for lines delineating zones A, B, and C
TESTFONT=fontspecifies software font for labels at points where test is positive
TESTHEIGHT=valuespecifies height of labels at points where test is positive

Table 43.4: Line Printer Options for Displaying Tests for Special Causes
TESTCHAR='character'specifies character for line segments that connect any sequence of points for which a test for special causes is positive
ZONECHAR='character'specifies character for lines that delineate zones for tests for special causes

Table 43.5: Reference Line Options
CHREF=colorspecifies color for HREF=and HREF2= lines
CVREF=colorspecifies color for VREF= and VREF2= lines
HREF=values| SAS-data-setspecifies position of reference lines perpendicular to horizontal axis on \bar{X} chart
HREF2=values| SAS-data-setspecifies position of reference lines perpendicular to horizontal axis on R chart
HREFCHAR='character'specifies line character for HREF=and HREF2= lines
HREFDATA= SAS-data-setspecifies position of reference lines perpendicular to horizontal axis on \bar{X} chart
HREF2DATA= SAS-data-setspecifies position of reference lines perpendicular to horizontal axis on R chart
HREFLABELS= 'label1'...'labeln'specifies labels for HREF=lines
HREF2LABELS= 'label1'...'labeln'specifies labels for HREF2= lines
HREFLABPOS=nspecifies position of HREFLABELS= and HREF2LABELS= labels
LHREF=linetypespecifies line type for HREF=and HREF2= lines
LVREF=linetypespecifies line type for VREF= and VREF2= lines
NOBYREFspecifies that reference line information in a data set applies uniformly to charts created for all BY groups
VREF=values| SAS-data-setspecifies position of reference lines perpendicular to vertical axis on \bar{X} chart
VREF2=values| SAS-data-setspecifies position of reference lines perpendicular to vertical axis on R chart
VREFCHAR='character'specifies line character for VREF= and VREF2= lines
VREFLABELS= 'label1'...'labeln'specifies labels for VREF= lines
VREF2LABELS= 'label1'...'labeln'specifies labels for VREF2= lines
VREFLABPOS=nspecifies position of VREFLABELS= and VREF2LABELS= labels

Table 43.6: Block Variable Legend Options
BLOCKLABELPOS= keywordspecifies position of label for block-variable legend
BLOCKLABTYPE= value|keywordspecifies text size of block-variable legend
BLOCKPOS=nspecifies vertical position of block-variable legend
BLOCKREPrepeats identical consecutive labels in block-variable legend
CBLOCKLAB=colorspecifies color for filling background in block-variable legend
CBLOCKVAR=variable| (variables)specifies one or more variables whose values are colors for filling background of block-variable legend

Table 43.7: Axis and Axis Label Options
CAXIS=colorspecifies color for axis lines and tick marks
CFRAME=color| (color-list)specifies fill colors for frame for plot area
CTEXT=colorspecifies color for tick mark values and axis labels
HAXIS=values|AXISnspecifies major tick mark values for horizontal axis
HEIGHT=valuespecifies height of axis label and axis legend text
HMINOR=nspecifies number of minor tick marks between major tick marks on horizontal axis
HOFFSET=valuespecifies length of offset at both ends of horizontal axis
INTSTART=valuespecifies first major tick mark value for numeric horizontal axis
NOHLABELsuppresses label for horizontal axis
NOTICKREPspecifies that only the first occurrence of repeated, adjacent subgroup values is to be labeled on horizontal axis
NOTRUNCsuppresses vertical axis truncation at zero applied by default to R chart
NOVANGLErequests vertical axis labels that are strung out vertically
SKIPHLABELS=nspecifies thinning factor for tick mark labels on horizontal axis
SPLIT='character'specifies splitting character for axis labels
TURNHLABELSrequests horizontal axis labels that are strung out vertically
VAXIS=values|AXISnspecifies major tick mark values for vertical axis of \bar{X} chart
VAXIS2=values|AXISnspecifies major tick mark values for vertical axis of R chart
VMINOR=nspecifies number of minor tick marks between major tick marks on vertical axis
VOFFSET=valuespecifies length of offset at both ends of vertical axis
VZEROforces origin to be included in vertical axis for primary chart
VZERO2forces origin to be included in vertical axis for secondary chart
WAXIS=nspecifies width of axis lines

Table 43.8: Specification Limit Options
CIINDICES=( ALPHA=value TYPE=keyword )specifies \alpha value and type for computing capability index confidence limits
LSL=value-listspecifies list of lower specification limits
TARGET=value-listspecifies list of target values
USL=value-listspecifies list of upper specification limits

Table 43.9: Options for Specifying Control Limits
ALPHA=valuerequests probability limits for control charts
LIMITN=n|VARYINGspecifies either nominal sample size for fixed control limits or varying limits
NOREADLIMITScomputes control limits for each process from the data rather than from a LIMITS= data set (Release 6.10 and later releases)
READALPHAreads _ALPHA_ instead of _SIGMAS_ from a LIMITS= data set
READINDEXES=ALL| 'label1'...'labeln'reads multiple sets of control limits for each process from a LIMITS= data set
READLIMITSreads single set of control limits for each process from a LIMITS= data set (Release 6.09 and earlier releases)
SIGMAS=kspecifies width of control limits in terms of multiple k of standard error of plotted means and ranges

Table 43.10: Graphical Enhancement Options
  
ANNOTATE=SAS-data-setspecifies annotate data set that adds features to \bar{X} chart
ANNOTATE2=SAS-data-setspecifies annotate data set that adds features to R chart
DESCRIPTION='string'specifies string that appears in the description field of the PROC GREPLAY master menu for \bar{X} chart
DESCRIPTION2='string'specifies string that appears in the description field of the PROC GREPLAY master menu for R chart
FONT=fontspecifies software font for labels and legends on charts
NAME='string'specifies name that appears in the name field of the PROC GREPLAY master menu for \bar{X} chart
NAME2='string'specifies name that appears in the name field of the PROC GREPLAY master menu for R chart
PAGENUM='string'specifies the form of the label used in pagination
PAGENUMPOS= keywordspecifies the position of the page number requested with the PAGENUM= option

Table 43.11: Options for Displaying Control Limits
CINFILL=colorspecifies color for area inside control limits
CLIMITS=colorspecifies color of control limits, central line, and related labels
LCLLABEL='label'specifies label for lower control limit on \bar{X} chart
LCLLABEL2='label'specifies label for lower control limit on R chart
LIMLABSUBCHAR= 'character'specifies a substitution character for labels provided as quoted strings; the character is replaced with the value of the control limit
LLIMITS=linetypespecifies line type for control limits
NDECIMAL=nspecifies number of digits to right of decimal place in default labels for control limits and central line on \bar{X} chart
NDECIMAL2=nspecifies number of digits to right of decimal place in default labels for control limits and central line on R chart
NOCTLsuppresses display of central line on \bar{X} chart
NOCTL2suppresses display of central line on R chart
NOLCLsuppresses display of lower control limit on \bar{X} chart
NOLCL2suppresses display of lower control limit on R chart
NOLIMITLABELsuppresses labels for control limits and central lines
NOLIMITSsuppresses display of control limits
NOLIMITSFRAMEsuppresses default frame around control limit information when multiple sets of control limits are read from a LIMITS= data set
NOLIMITSLEGENDsuppresses legend for control limits
NOLIMIT0suppresses display of zero lower control limit on R chart
NOUCLsuppresses display of upper control limit on \bar{X} chart
NOUCL2suppresses display of upper control limit on R chart
RSYMBOL='string'| keywordspecifies label for central line on R chart
UCLLABEL='string'specifies label for upper control limit on \bar{X} chart
UCLLABEL2='string'specifies label for upper control limit on R chart
WLIMITS=nspecifies width for control limits and central line
XSYMBOL='string'| keywordspecifies label for central line on \bar{X} chart

Table 43.12: Grid Options
ENDGRIDadds grid after last plotted point
GRIDadds grid to control chart
LENDGRID=linetypespecifies line type for grid requested with the ENDGRID option
LGRID=linetypespecifies line type for grid requested with the GRID option
WGRID=nspecifies width of grid lines

Table 43.13: Options for Plotting and Labeling Points
  
ALLLABEL=VALUE| (variable)labels every point on \bar{X} chart
ALLLABEL2=VALUE| (variable)labels every point on R chart
CCONNECT=colorspecifies color for line segments that connect points on chart
CFRAMELAB=colorspecifies fill color for frame around labeled points
CNEEDLES=colorspecifies color for needles that connect points to central line
CONNECTCHAR= 'character'specifies character used to form line segments that connect points on chart
COUT=colorspecifies color for portions of line segments that connect points outside control limits
COUTFILL=colorspecifies color for shading areas between the connected points and control limits outside the limits
NEEDLESconnects points to central line with vertical needles
NOCONNECTsuppresses line segments that connect points on chart
OUTLABEL=VALUE| (variable)labels points outside control limits on \bar{X} chart
OUTLABEL2=VALUE| (variable)labels points outside control limits on R chart
SYMBOLCHARS= 'characters'specifies characters indicating symbol-variable
SYMBOLLEGEND= NONE|namespecifies LEGEND statement for levels of symbol-variable
SYMBOLORDER= keywordspecifies order in which symbols are assigned for levels of symbol-variable
TURNALL|TURNOUTturns point labels so that they are strung out vertically

Table 43.14: Clipping Options
CCLIP=colorspecifies color for plot symbol for clipped points
CLIPCHAR='character'specifies plot character for clipped points
CLIPFACTOR=valuedetermines extent to which extreme points are clipped
CLIPLEGEND='string'specifies text for clipping legend
CLIPLEGPOS=keywordspecifies position of clipping legend
CLIPSUBCHAR= 'character'specifies substitution character for CLIPLEGEND= text
CLIPSYMBOL=symbolspecifies plot symbol for clipped points
CLIPSYMBOLHT=valuespecifies symbol marker height for clipped points

Table 43.15: Phase Options
CPHASEBOX=colorspecifies color for box enclosing all plotted points for a phase
CPHASEBOX- CONNECT=colorspecifies color for line segments connecting adjacent enclosing boxes
CPHASEBOXFILL=colorspecifies fill color for box enclosing all plotted points for a phase
CPHASELEG=colorspecifies text color for phase legend
CPHASEMEAN- CONNECT=colorspecifies color for line segments connecting average value points within a phase
NOPHASEFRAMEsuppresses default frame for phase legend
OUTPHASE='string'specifies value of _PHASE_ in the OUTHISTORY= data set
PHASEBREAKdisconnects last point in a phase from first point in next phase
PHASELABTYPE=value| keywordspecifies text size of phase legend
PHASELEGENDdisplays phase labels in a legend across top of charts
PHASELIMITSlabels control limits for each phase, provided they are constant within that phase
PHASEMEANSYMBOL= symbolspecifies symbol marker for average of values within a phase
PHASEREFdelineates phases with vertical reference lines
READPHASES= ALL| 'label1'...'labeln'specifies phases to be read from an input data set

Table 43.16: Input Data Set Options
MISSBREAKspecifies that observations with missing values are not to be processed

Table 43.17: Output Data Set Options
OUTHISTORY= SAS-data-setcreates output data set containing subgroup summary statistics
OUTINDEX='string'specifies value of _INDEX_ in the OUTLIMITS= data set
OUTLIMITS= SAS-data-setcreates output data set containing control limits
OUTTABLE= SAS-data-setcreates output data set containing subgroup summary statistics and control limits

Table 43.18: Process Mean and Standard Deviation Options
MU0=valuespecifies known (standard) value \mu_{0} for process mean \mu
SIGMA0=valuespecifies known (standard) value \sigma_{0} for process standard deviation \sigma
SMETHOD=keywordspecifies method for estimating process standard deviation \sigma
TYPE=keywordidentifies parameters as estimates or standard values and specifies value of _TYPE_ in the OUTLIMITS= data set

Table 43.19: Plot Layout Options
ALLNplots means and ranges for all subgroups
BILEVELcreates control charts using half-screens and half-pages
EXCHARTcreates control charts for a process only when exceptions occur
INTERVAL=keywordspecifies natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable
MAXPANELS=nspecifies maximum number of pages or screens for chart
NMARKERSrequests special markers for points corresponding to sample sizes not equal to nominal sample size for fixed control limits
NOCHARTsuppresses creation of charts
NOCHART2suppresses creation of R chart
NOFRAMEsuppresses frame for plot area
NOLEGENDsuppresses legend for subgroup sample sizes
NPANELPOS=nspecifies number of subgroup positions per panel on each chart
REPEATrepeats last subgroup position on panel as first subgroup position of next panel
SEPARATEdisplays \bar{X} and R charts on separate screens or pages
TOTPANELS=nspecifies number of pages or screens to be used to display chart
YPCT1=valuespecifies length of vertical axis on \bar{X} chart as a percentage of sum of lengths of vertical axes for \bar{X}and R charts
ZEROSTDdisplays \bar{X} and R charts regardless of whether \hat{\sigma} = 0

Table 43.20: Options for Interactive Control Charts
HTML=(variable)specifies a variable whose values are URLs to be associated with subgroups
HTML_LEGEND= (variable)specifies a variable whose values are URLs to be associated with symbols in the symbol legend
TESTURLS=SAS-data-setassociates URLs with tests for special causes
WEBOUT=SAS-data-setcreates an OUTTABLE= data set with additional graphics coordinate data

Table 43.21: Star Options
CSTARCIRCLES=colorspecifies color for STARCIRCLES= circles
CSTARFILL=color| (variable)specifies color for filling stars
CSTAROUT=colorspecifies outline color for stars exceeding inner or outer circles
CSTARS=color| (variable)specifies color for outlines of stars
LSTARCIRCLES= linetypesspecifies line types for STARCIRCLES= circles
LSTARS=linetype|(variable)specifies line types for outlines of STARVERTICES= stars
STARBDRADIUS=valuespecifies radius of outer bound circle for vertices of stars
STARCIRCLES=value-listspecifies reference circles for stars
STARINRADIUS=valuespecifies inner radius of stars
STARLABEL=keywordspecifies vertices to be labeled
STARLEGEND=keywordspecifies style of legend for star vertices
STARLEGENDLAB='label'specifies label for STARLEGEND= legend
STAROUTRADIUS=valuespecifies outer radius of stars
STARSPEC=value| SAS-data-setspecifies method used to standardize vertex variables
STARSTART=valuespecifies angle for first vertex
STARTYPE=keywordspecifies graphical style of star
STARVERTICES= variable|(variables)superimposes star at each point on \bar{X} chart
WSTARCIRCLES=nspecifies width of STARCIRCLES= circles
WSTARS=nspecifies width of STARVERTICES= stars

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.