The widget that displays the current value of all thing metrics.
All the thing definition metrics are automatically displayed and grouped into different boxes by using the Group property defined on each metric.
The following information is displayed for each metric:
The localized Label or the Name as fallback
In case the label is too long, it is truncated, and a tooltip allows displaying the full label.The description, which can be visible as tooltip on the information icon.
The last value, by using a default filter and unit of measurement.
The Quick History, allowing to inspect the historical values of each metric, which can also be exported.
Configuration
Template Syntax
Below you can find some examples of how to use the component within a template.
<metrics-data-widget class="flex-fill" [title]="'All Metrics Value'"></metrics-data-widget>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Metrics Data <metrics-data-widget>
Export Enabled | The boolean flag indicating whether the data export is enabled. Name: config.exportEnabled Type: BOOLEAN | Optional Default Value: false
|
Max Columns Per Group | The maximum number of columns used to spread the metrics of a single group. Name: config.maxColumnsPerGroup Type: INTEGER | Optional Default Value: 3
|
Title | The title displayed on the top part of the widget box. Name: title Type: STRING | Optional
|
Rendering | |
CSS Class | The name(s) of the CSS class used to customize the widget layout. Name: class Type: STRING | Optional
|
Visibility Condition | The expression that allows you to reduce the visibility of the element. Name: *ngIf Type: STRING | Optional
|