include Function (GPL)

Syntax

include(<value> ...)

<value>. The string representing the category on the axis or a numeric value on the axis. If specifying multiple values, separate them with commas.

Description

Includes the categories or values on the axis or legend, even if the data do not include the categories or values. These categories or values are always displayed on the axis or legend. For example, you may use include(0) in a bar chart to ensure bars begin at 0.

Examples

Figure 1. Example: Include a category
SCALE: cat(dim(1), include("No Response"))
Figure 2. Example: Including multiple categories
SCALE: cat(dim(1), include("No Response", "Didn't Ask"))
Figure 3. Example: Include a value
SCALE: linear(dim(2), include(0))
Figure 4. Example: Including multiple values
SCALE: linear(dim(2), include(0, 100))