Set the range properties on a layer

Range properties are set for a layer or stand-alone table using the Properties dialog box. You must set the range definition before you can use the interactive range slider. A range is defined using a single field or a combination of two fields that act as a minimum and maximum definition for the range. Any field used in a range must be a numeric type, such as Integer, Long, Float, or Double.

Tip:
  • For fields containing date values, consider using the Time slider.

To add or update a range definition for a layer, do the following:

  1. Double-click the layer in the Contents pane to open the Layer Properties dialog box.
  2. On the Range tab, click Add Range.
  3. Choose the field that defines the range from the Start Field drop-down list.

    By default, the range extent is calculated as soon as you choose a field. If the data is large, it is possible that only a sampling of the data will be used to determine the range extent. In this case, you will see a warning icon next to the Calculate button with a message indicating this situation. Click Calculate to calculate the full range extent using all the rows in the table. Alternatively, you can manually enter the range extent for the layer.

  4. Optionally, choose a different field that concludes the range from the End Field drop-down list.

    The default value of <None> means the span of values within the single Start Field are used to define the range. Use the End Field to further constrain feature appearance.

  5. Optionally, define an Alias expression for the range.
    The option is only available for integer-based ranges, and it allows you to define a field or expression that represents the current range values in more descriptive terms. For example, you can use a DissolvedOxygen field as the alias for a DissolvedOxygen range value in fish and display Stressful rather than 5 (ppm) when the range slider is in Single Value view mode. To set a range alias, choose a field from the drop-down list or define the expression by clicking the Expression Builder button Set an expression.

    Note:
    If your data does not have a field containing an alias, or it has a one-to-many relationship to the range value, you can use an Arcade expression that manually applies a value-alias pair, such as decode ($value, 1, "One", 2, "Two", 3, "Three", "Other").

  6. Optionally, check View using unique values within the data, for Step. Once enabled, the range slider ribbon settings can be configured to use this layer-defined property to determine the offset when stepping to the next or previous value. These values are often irregularly spaced over the full range extent.
  7. Click Add.

    Note:

    • To rename the newly added range, click the name in the Layer Properties window and it becomes editable.
    • Hover over the range and click the edit button Edit to edit the properties of the range.
    • Hover over the range and click the remove button Remove to remove the range entirely.

  8. Click OK to close the Properties dialog box.

    The range slider appears on the right side of the map or scene, and the Range tab to configure range settings appears at the top of the application.

Related topics