The following tables list the XRCHART statement options by function. For complete descriptions, see Dictionary of Options: SHEWHART Procedure.
Table 17.71: XRCHART Statement Options
Option 
Description 

Options for Specifying Control Limits 

requests probability limits for chart 

specifies either nominal sample size for fixed control limits or varying limits 

computes control limits for each process from the data rather than a LIMITS= data set (SAS 6.10 and later releases) 

reads 

reads control limits for each process from a LIMITS= data set 

reads single set of control limits for each process from a LIMITS= data set (SAS 6.09 and earlier releases) 

specifies width of control limits in terms of multiple k of standard error of plotted means 

Options for Displaying Control Limits 

specifies color for area inside control limits 

specifies color of control limits, central line, and related labels 

specifies label for lower control limit on chart 

specifies label for lower control limit on R chart 

specifies a substitution character for labels provided as quoted strings; the character is replaced with the value of the control limit 

specifies line type for control limits 

specifies number of digits to right of decimal place in default labels for control limits and central line on chart 

specifies number of digits to right of decimal place in default labels for control limits and central line on R chart 

suppresses display of central line on chart 

suppresses display of central line on R chart 

suppresses display of lower control limit on chart 

suppresses display of lower control limit on R chart 

suppresses display of zero lower control limit on R chart 

suppresses labels for control limits and central line 

suppresses display of control limits 

suppresses default frame around control limit information when multiple sets of control limits are read from a LIMITS= data set 

suppresses legend for control limits 

suppresses display of upper control limit on chart 

suppresses display of upper control limit on R chart 

specifies label for central line on R chart 

specifies label for upper control limit on chart 

specifies label for upper control limit on R chart 

specifies width for control limits and central line 

specifies label for central line on chart 

Process Mean and Standard Deviation Options 

specifies known value of for process mean 

specifies known value for process standard deviation 

specifies method for estimating process standard deviation 

identifies parameters as estimates or standard values and specifies value of 

Options for Plotting and Labeling Points 

labels every point on chart 

labels every point on R chart 

specifies color for labels 

specifies color for line segments that connect points on chart 

specifies fill color for frame around labeled points 

specifies color for needles that connect points to central line 

specifies color for portions of line segments that connect points outside control limits 

specifies color for shading areas between the connected points and control limits outside the limits 

specifies angle at which labels are drawn 

specifies software font for labels (alias for the TESTFONT= option) 

specifies height of labels (alias for the TESTHEIGHT= option) 

connects points to central line with vertical needles 

suppresses line segments that connect points on chart 

labels points outside control limits on chart 

labels points outside control limits on R chart 

specifies LEGEND statement for levels of symbolvariable 

specifies order in which symbols are assigned for levels of symbolvariable 

turns point labels so that they are strung out vertically 

specifies width of needles 

Options for Specifying Tests for Special Causes 

computes zone widths independently above and below center line 

enables tests to be applied with control limits other than limits 

suppresses tests across phase boundaries 

specifies tests for special causes for the chart 

specifies tests for special causes for the R chart 

enables tests for special causes to be reset for the R chart 

specifies length of pattern for Test 2 

specifies length of pattern for Test 3 

applies tests across phase boundaries 

provides labels for points where test is positive 

specifies label for nth test for special causes 

applies tests to standardized chart statistics 

performs tests on overlapping patterns of points 

enables tests for special causes to be reset 

adds labels A, B, and C to zone lines for chart 

adds labels A, B, and C to zone lines for R chart 

adds lines to chart delineating zones A, B, and C 

adds lines to R chart delineating zones A, B, and C 

specifies position of ZONEVALUES labels 

labels chart zone lines with their values 

labels R zone lines with their values 

Options for Displaying Tests for Special Causes 

specifies color for boxes enclosing labels indicating points where test is positive 

specifies color for labels indicating points where test is positive 

specifies color for symbol used to plot points where test is positive 

specifies color for lines and labels delineating zones A, B, and C 

specifies type of line connecting points where test is positive 

specifies line type for lines delineating zones A, B, and C 

specifies software font for labels at points where test is positive 

specifies height of labels at points where test is positive 

requests that labels for points where test is positive be positioned so that do not overlap 

specifies plot symbol for points where test is positive 

specifies symbol height for points where test is positive 

specifies width of line connecting points where test is positive 

Axis and Axis Label Options 

specifies color for axis lines and tick marks 

specifies fill colors for frame for plot area 

specifies color for tick mark values and axis labels 

produces horizontal axis for discrete numeric group values 

specifies major tick mark values for horizontal axis 

specifies height of axis label and axis legend text 

specifies number of minor tick marks between major tick marks on horizontal axis 

specifies length of offset at both ends of horizontal axis 

specifies first major tick mark value on horizontal axis when a date, time, or datetime format is associated with numeric subgroup variable 

suppresses label for horizontal axis 

specifies that only the first occurrence of repeated, adjacent subgroup values is to be labeled on horizontal axis 

suppresses vertical axis truncation at zero applied by default to R chart 

requests vertical axis labels that are strung out vertically 

specifies thinning factor for tick mark labels on horizontal axis 

specifies splitting character for axis labels 

requests horizontal axis labels that are strung out vertically 

specifies major tick mark values for vertical axis of chart 

specifies major tick mark values for vertical axis of R chart 

specifies format for primary vertical axis tick mark labels 

specifies format for secondary vertical axis tick mark labels 

specifies number of minor tick marks between major tick marks on vertical axis 

specifies length of offset at both ends of vertical axis 

forces origin to be included in vertical axis for primary chart 

forces origin to be included in vertical axis for secondary chart 

specifies width of axis lines 

Plot Layout Options 

plots means for all subgroups 

creates control charts using halfscreens and halfpages 

creates control charts for a process only when exceptions occur 

natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable 

maximum number of pages or screens for chart 

requests special markers for points corresponding to sample sizes not equal to nominal sample size for fixed control limits 

suppresses creation of charts 

suppresses creation of R chart 

suppresses frame for plot area 

suppresses legend for subgroup sample sizes 

specifies number of subgroup positions per panel on each chart 

repeats last subgroup position on panel as first subgroup position of next panel 

displays and R charts on separate screens or pages 

specifies number of pages or screens to be used to display chart 

specifies length of vertical axis on chart as a percentage of sum of lengths of vertical axes for and R charts 

displays chart regardless of whether 

Reference Line Options 

specifies color for lines requested by HREF= and HREF2= options 

specifies color for lines requested by VREF= and VREF2= options 

specifies position of reference lines perpendicular to horizontal axis on chart 

specifies position of reference lines perpendicular to horizontal axis on R chart 

specifies position of reference lines perpendicular to horizontal axis on chart 

specifies position of reference lines perpendicular to horizontal axis on R chart 

specifies labels for HREF= lines 

specifies labels for HREF2= lines 

specifies position of HREFLABELS= and HREF2LABELS= labels 

specifies line type for HREF= and HREF2= lines 

specifies line type for VREF= and VREF2= lines 

specifies that reference line information in a data set applies uniformly to charts created for all BY groups 

specifies position of reference lines perpendicular to vertical axis on chart 

specifies position of reference lines perpendicular to vertical axis on R chart 

specifies labels for VREF= lines 

specifies labels for VREF2= lines 

position of VREFLABELS= and VREF2LABELS= labels 

Grid Options 

specifies color for grid requested with GRID or ENDGRID option 

adds grid after last plotted point 

adds grid to control chart 

specifies line type for grid requested with the ENDGRID option 

specifies line type for grid requested with the GRID option 

specifies width of grid lines 

Clipping Options 

specifies color for plot symbol for clipped points 

determines extent to which extreme points are clipped 

specifies text for clipping legend 

specifies position of clipping legend 

specifies substitution character for CLIPLEGEND= text 

specifies plot symbol for clipped points 

specifies symbol marker height for clipped points 

Graphical Enhancement Options 

specifies annotate data set that adds features to chart 

specifies annotate data set that adds features to R chart 

specifies description of chart’s GRSEG catalog entry 

specifies description of R chart’s GRSEG catalog entry 

specifies software font for labels and legends on charts 

specifies name of chart’s GRSEG catalog entry 

specifies name of R chart’s GRSEG catalog entry 

specifies the form of the label used in pagination 

specifies the position of the page number requested with the PAGENUM= option 



Options for Producing Graphs Using ODS Styles 

specifies one or more variables whose values define colors for filling background of blockvariable legend 

draws a frame around labeled points 

draw portions of line segments that connect points outside control limits in a contrasting color 

specifies that portions of stars exceeding inner or outer circles are drawn using a different color 

shades areas between control limits and connected points lying outside the limits 

specifies a variable identfying groups of stars filled with different colors 

specifies a variable identfying groups of stars whose outlines are drawn with different colors 



Options for ODS Graphics 

specifies the wall fill transparency for blocks and phases 

specifies the control limit infill transparency 

plots subgroup points with markers 

suppresses block and phase reference lines 

suppresses block and phase wall fills 

suppresses legend for levels of a STARFILL= variable 

suppresses block and phase reference lines 

suppresses block and phase wall fills 

suppresses block and phase reference lines 

suppresses block and phase wall fills 

suppresses legend for levels of a STARFILL= variable 

disables transparency in ODS Graphics output 

specifies a graph footnote 

specifies a secondary graph footnote 

specifies that legend entries contain all levels observed in the data 

specifies a graph title 

specifies a secondary graph title 

specifies control limit outfill transparency 

specifies URLs to associate with overlay points 

specifies URLs to associate with overlay points on secondary chart 

specifies vertical position of phase legend 

associates phase and block reference lines with either innermost or the outermost level 

specifies the wall fill transparency for blocks and phases 

specifies the wall fill transparency for blocks and phases 

draws central line labels using a simulated software font 

specifies star fill transparency 

specifies a variable whose values are URLs to be associated with subgroups 

specifies a variable whose values are URLs to be associated with subgroups on secondary chart 

Input Data Set Options 

specifies that observations with missing values are not to be processed 

Output Data Set Options 

creates output data set containing subgroup summary statistics 

specifies value of 

creates output data set containing control limits 

creates output data set containing subgroup summary statistics and control limits 

Tabulation Options 

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

creates a basic table of subgroup means, subgroup sample sizes, and control limits 

is equivalent to the options TABLE, TABLECENTRAL, TABLEID, TABLELEGEND, TABLEOUTLIM, and TABLETESTS 

augments basic table with values of central lines 

augments basic table with columns for ID variables 

augments basic table with legend for tests for special causes 

augments basic table with columns indicating control limits exceeded 

augments basic table with a column indicating which tests for special causes are positive 

Specification Limit Options 

specifies value and type for computing capability index confidence limits 

specifies list of lower specification limits 

specifies list of target values 

specifies list of upper specification limits 

Block Variable Legend Options 

specifies position of label for blockvariable legend 

specifies text size of blockvariable legend 

specifies vertical position of blockvariable legend 

repeats identical consecutive labels in blockvariable legend 

specifies fill colors for frames enclosing variable labels in blockvariable legend 

specifies one or more variables whose values are colors for filling background of blockvariable legend 

Phase Options 

specifies text color for phase legend 

suppresses default frame for phase legend 

specifies value of 

disconnects last point in a phase from first point in next phase 

specifies text size of phase legend 

displays phase labels in a legend across top of chart 

labels control limits for each phase, provided they are constant within that phase 

delineates phases with vertical reference lines 

specifies phases to be read from an input data set 

Star Options 

specifies color for STARCIRCLES= circles 

specifies color for filling stars 

specifies outline color for stars exceeding inner or outer circles 

specifies color for outlines of stars 

specifies line types for STARCIRCLES= circles 

specifies line types for outlines of STARVERTICES= stars 

specifies radius of outer bound circle for vertices of stars 

specifies reference circles for stars 

specifies inner radius of stars 

specifies vertices to be labeled 

specifies style of legend for star vertices 

specifies label for STARLEGEND= legend 

specifies outer radius of stars 

specifies method used to standardize vertex variables 

specifies angle for first vertex 

specifies graphical style of star 

superimposes star at each point on chart 

specifies width of STARCIRCLES= circles 

specifies width of STARVERTICES= stars 

Overlay Options 

specifies colors for primary chart overlay line segments 

specifies colors for secondary chart overlay line segments 

specifies colors for primary chart overlay plots 

specifies colors for secondary chart overlay plots 

specifies color for clipped points on overlays 

specifies line types for primary chart overlay line segments 

specifies line types for secondary chart overlay line segments 

suppresses legend for overlay plots 

specifies variables to overlay on primary chart 

specifies variables to overlay on secondary chart 

specifies links to associate with secondary chart overlay points 

specifies labels for secondary chart overlay points 

specifies symbols for secondary chart overlays 

specifies symbol heights for secondary chart overlays 

specifies symbol for clipped points on overlays 

specifies symbol height for clipped points on overlays 

specifies links to associate with primary chart overlay points 

specifies labels for primary chart overlay points 

specifies label for overlay legend 

specifies symbols for primary chart overlays 

specifies symbol heights for primary chart overlays 

specifies widths of primary chart overlay line segments 

specifies widths of secondary chart overlay line segments 

Options for Interactive Control Charts 

specifies a variable whose values create links to be associated with subgroups 

specifies variable whose values create links to be associated with subgroups on secondary chart 

specifies a variable whose values create links to be associated with symbols in the symbol legend 

creates an OUTTABLE= data set with additional graphics coordinate data 

Options for Line Printer Charts 

specifies plot character for clipped points 

specifies character used to form line segments that connect points on chart 

specifies line character for HREF= and HREF2= lines 

specifies characters indicating symbolvariable 

specifies character for line segments that connect any sequence of points for which a test for special causes is positive 

specifies line character for VREF= and VREF2= lines 

specifies character for lines that delineate zones for tests for special causes 