specifies a range of
numeric values or a keyword, such as OTHER or MISSING.
A range of numeric
values is specified in the form
low-value - high-value.
Both
low-value and
high-value can
be specified as an unformatted numeric value. A less-than symbol (<)
can be placed after the low numeric value, before the high numeric
value, or in both positions to exclude that value from the range endpoint
(similar to the VALUE statement of the FORMAT procedure). If you
are excluding the first value in a range, put the < after the
low-value.
If you are excluding the last value in a range, put the < before
the
high-value. You can also
exclude both the low and the high value.
For example, the following
range does not include 0:
0 < - 100
Likewise,
the following range does not include 100:
0 - < 100
If
a value at the high end of one range also appears at the low end of
another range and you do not use the < exclusion notation, then
the value is assigned to the first range.
If two or more RANGE
statements define colors to associate with the same numeric values
or ranges, the first RANGE statement's settings are used. If any RANGE
statement's range overlaps another RANGE statement's range (for example,
10 - 20 and 15 - 25), then the entire attribute map is ignored and
default coloring is used.
If two ranges share
a common endpoint (for example, 10 - 20 and 20 - 30) and no exclusion
operator is used, the common endpoint belongs to the lower encountered
range (10 - 20 in this case). The order of the specification does
not matter.
To set a single numeric
value, specify the same value for both
low-value and
high-value.
If
low-value is
not less than or equal to
high-value,
the
range-spec is invalid and
the RANGE statement is ignored in the attribute map definition.
Note: If a range is not defined
for keyword OTHER, gaps within the attribute map ranges are assigned
the default color that is defined by the GraphOther:ContrastColor
style reference.
Rather than using a
numeric value, you can specify one of the following keywords as
low-value or
high-value:
MIN |
Indicates the minimum data value for column values. |
MAX |
Indicates the highest data value for the column
values.
|
MAXABS |
Indicates max(abs(MIN) , abs(MAX)) |
NEGMAX |
Indicates -MAX |
NEGMAXABS |
Indicates -max(abs(MIN) , abs(MAX)) |
Rather than specifying
a
low-value to
high-value
range, you can use one of the following keywords for
range-spec:
MISSING |
Indicates a mapping for missing values. The visual
attributes for this setting are obtained from the GraphMissing style
element. If one RANGE statement specifies this value and another
RANGE statement specifies keyword OTHER, then the OTHER range does
not include missing values.
|
UNDER |
Creates a range for all data values between the
lowest mapped value and the lowest actual data value. The visual attributes
for this setting are obtained from the GraphUnderflow style element.
If one RANGE statement specifies this value and another RANGE statement
specifies keyword OTHER, then the OTHER range does not include underflow
values.
|
OVER |
Creates a range for all data between the highest
mapped value and the highest actual data value. The visual attributes
for this setting are obtained from the GraphOverflow style element.
If one RANGE statement specifies this value and another RANGE statement
specifies keyword OTHER, then the OTHER range does not include overflow
values.
|
OTHER |
Creates a category for all other column values not
explicitly assigned to a range. The OTHER values can be composed of
several non-contiguous ranges. The visual attributes for this setting
are obtained from the GraphOther style element.
|