Bosch IoT Insights

Project Stats widget

Using the Project Stats widget, statistics of a project can be displayed.

Example

images/confluence/download/attachments/1083888303/Widget_Project_Stats_20_04_09-version-2-modificationdate-1635173239000-api-v2.png

Proceed as follows

  1. Select the Project Stats widget in the widget list.
    → The widget configuration page is displayed.

    images/confluence/download/attachments/1083888303/widget_project_stats_configuration_2020_07_23-version-2-modificationdate-1619696950000-api-v2.png
  2. Configure the settings as described below.

  3. Click the Add button.
    → The widget is added to the dashboard.

Dashboard Settings

Open the Dashboard Settings pane to set how the widget is displayed in the dashboard.

  1. In the Size drop-down list, decide how much space the widget should take in the form of columns.

  2. In the Visibility drop-down, set whether the widget should be visible or hidden. You can also define for which specific roles the widget will be shown or not. This setting allows you to customize dashboards for specific user groups that have a certain role.

    Visible: The widget is visible for all (default)
    Visible for roles: The widget is visible if any of the selected roles matches one of the user's project role
    Hidden: The widget is hidden for all
    Hidden for roles: The widget is hidden if any of the selected roles matches one of the user's project role

  3. In the Layout behavior drop-down list, decide how the size of the widget should be adapted in the dashboard.

  4. In the Title field, enter a title for the widget.

    For a dynamic title, you can add placeholders with the ${...} notation. The placeholder source is filterParams (if a filter widget exists on the dashboard, e.g. ${filterParams.paramName}).

General Settings

Open the General Settings pane to configure some general aspects for the widget.

  1. In the Widget Refresh Interval in Seconds field, enter a value in seconds after which the widget should be refreshed.

  2. In the Display Mode drop-down list, select the display mode.

    Data size + Input Count + Processed Count: Displays the size of the used storage (MB, GB) in the project, and the numbers of the stored input documents and processed documents

    Collection Type Sizes Chart: Displays the size of processed data, input data, and other data used by the project in a Bar chart

    Collection Type Count Chart: Displays the number of input documents, processed documents, and other data used by the project in a Bar chart

  3. In the Lazy Loading drop-down list, select whether you want to enable or disable lazy loading.

    Lazy loading is enabled by default. That way, widgets are only loaded when they are visible on screen. This prevents slower loading of the dashboard and performance issues.