Configure an indicator widget

An indicator widget depicts the state of the value of a certain attribute against a target value. For example, an indicator might depict the average monthly sales for points representing retail outlets against an expected minimum revenue value. For those features where this value falls under the target value, the indicator shows a negative and the value. For those that meet or are above the target value, the indicator shows a positive and the value.

In some cases, the indicator needs to depict the reverse scenario where values above a certain target are shown as negative and below as positive. For example, you can configure an indicator that depicts the temperature reported by a sensor where a negative state is indicated when the temperature rises above a certain level.

The comparison to the target can be one of the following:

  • Equal to—Only those values that are the same as the target value are shown as positive.
  • Not Equal—Only those values that are different than the target value are shown as positive.
  • Less than—Only those values that are less than the target value are shown as positive.
  • Less than or equal—Only those values that are less than or equal to the target value are shown as positive.
  • Greater than—Only those values that are greater than the target value are shown as positive.
  • Greater than or equal—Only those values that are greater than or equal to the target value are shown as positive.

You can also configure a three-state indicator widget to depict values above, below, and in between target values.

The target value can be a fixed value, the value of a field for a single feature, or a summary statistic for a field for a collection of features. When a single feature is depicted the feature’s value for the source attribute is considered when compared to the target. If more than one feature is used, such as when there are multiple selected features, a summary operation is performed on the field values and compared against the target. The aggregate can be any one of the following:

  • The average value across the features
  • The maximum of the values of all the features
  • The minimum of the values of all the features
  • The sum total of the values of all the features

In an emergency management scenario following a natural disaster, you could use an indicator widget to depict the average time for police or fire to respond to open incidents. Times less than a certain target threshold—for example, 10 minutes—are shown in green to indicate acceptable values. If the response time rises above the target, the indicator becomes red.

Indicator widget with a target value of 10 minutes

  1. Click Edit , and click Edit Operation View.
  2. To create a new widget, click Widget, click Add Widget, choose the type of widget, and click OK. To update settings for an existing widget, click Settings Settings, and click Configure Configure on the widget's window.
  3. Click the Data Source drop-down arrow, and choose the item that will provide the data for the widget.
  4. In the Title box, type a title that will be displayed in the widget's window.
  5. In the Description box, type a caption that will be displayed below the widget.
  6. The display type specifies what type of information you intend to display in the indicator. Click the Display Type drop-down arrow and choose whether to display a statistic or a count.
  7. Click the Value Field drop-down arrow and choose an attribute field that will be displayed. Set the type of operation (sum, average, minimum, or maximum) to apply to the attribute values shown in the widget if more than one feature in the layer is selected. These options do not apply when displaying a count.
  8. Click the Target Range tab to set the type of indicator, which can be either a two-state type that displays above and below values, or a three-state indicator that displays above, below, and values in between.
    • For a two-state indicator, type a constant value for the target, or choose a field and use it instead, and set the type of comparison. For example, if you choose Greater than, attribute values that are greater than the target value will be displayed as acceptable, and attribute values less than or equal to the target value will be displayed as unacceptable.
    • For a three-state indicator, set the high and low target values or field.
  9. Check Raise alerts when minimized if you want the widget to display a notification that target values are met and the widget is minimized.
  10. Click the Appearance tab to set the color and icon symbol to display the value.
  11. When using a data source that represents a single feature, such as a selection in a list widget, click the Name Field drop-down arrow to set the field value that will be displayed above the widget.
  12. You can type text to appear before and after the value to provide additional context. You can include a space at the end of the leading text and at the beginning of the trailing text so the result shows a space on either side of the value.
  13. When you're satisfied with the preview, click OK to finish configuring the widget.