Counter | Urbi Pro | Urbi Documentation
Urbi Pro

Counter

A Counter widget displays the value of a selected data attribute (e.g., average rating or the number of constructed buildings). Use a counter to monitor the value change within a separate widget.

Example of creating an counter widget
  1. Go to the Dashboards tab.

  2. Open the required dashboard.

  3. Open a scene using the arrows Left arrow and Right arrow. If there is only one scene in the dashboard, it opens automatically when you open the dashboard.

  4. In the top menu of the dashboard, click Widgets icon.

  5. Select the Counter widget type.

  6. In the Value block, select the value to display on the widget:

    • From datasets: selecting an attribute from the dataset (the value on the widget is updated when the data changes):
      • Layer: data layer containing the required attribute.
      • Aggregation attribute: attribute used to aggregate data and calculate the value.
      • Aggregation type: function used to calculate the attribute value.
    • Set manually: entering the value manually.
  7. Set the remaining widget parameters if necessary.

  8. Click Create.

A new widget is created and automatically added to the selected dashboard scene.

Note

When working with the uploaded data, make sure it contains at least one attribute to display a value on the widget.

Parameter
Description
Widget name Widget name.

Selecting a value (From datasets tab):

Parameter
Description
Layer Data layer containing the required attribute.
Aggregation attribute Attribute, which value is aggregated and displayed on the widget:
  • Text attribute. You can select any attribute values ​​from the sample in the drop-down list.
  • Numeric attribute.
  • Number of objects.

When the data value changes, the value on the widget is also updated automatically.
Aggregation type Function used to calculate the attribute value.

For numeric attributes:
  • Sum: the sum of the values.
  • Mean: the mean value.
  • Min: the minimum value.
  • Max: the maximum value.
  • Median: the median value that is equal to or greater than 50% of the values ​​in the group.
  • 80th percentile: the value that is equal to or greater than 80% of the values ​​in the group.
  • 95th percentile: the value that is equal to or greater than 95% of the values ​​in the group.
  • 99th percentile: the value that is equal to or greater than 99% of the values ​​in the group.
  • Quantity: number of objects in the sample.

For text attributes and number of objects:
  • Quantity: number of objects in the sample.
Color Color of the value on the widget. You can select a color from the palette or specify it in HEX format.

Entering a value manually (Set manually tab):

Parameter
Description
Value Value displayed on the widget. The maximum number of characters is 16. The value does not change unless you change it when editing the widget.
Color Color of the value on the widget. You can select a color from the palette or specify it in HEX format.
Parameter
Description
Label position Label position on the widget relative to the value: above or below the value.
Label Label text. The maximum number of characters is 100.
Color Label color. You can select a color from the palette or specify it in HEX format.