Overview: INSET Statement

The INSET statement enables you to enhance a Pareto chart by adding a box or table (referred to as an inset) of summary statistics directly to the graph. An inset can display statistics calculated by the PARETO procedure or arbitrary values provided in a SAS data set.

Note that an INSET statement by itself does not produce a display but must be used in conjunction with a chart statement. Insets are not available with line printer charts, so the INSET statement is not applicable when the LINEPRINTER option is specified in the PROC PARETO statement.

You can use options in the INSET statement to

  • specify the position of the inset

  • specify a header for the inset table

  • specify graphical enhancements, such as background colors, text colors, text height, text font, and drop shadows

When an INSET statement is associated with a chart statement producing a comparative Pareto chart, an inset is produced in each cell of the comparative chart.