The sub-element referencing a metric and whose values must be loaded by the widget.
code_blocksCode View
Template Syntax
Below you can find some examples of how to use the component within a template.
<metric name="Temperature" filter="singleDecimalFormat"></metric>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Metric <metric> | |
---|---|
PROPERTIES | |
Filter | The name of the filter used to transform and display values. Type: FILTER | Optional filter="fooBarFilter" |
Label | The metric alternative label. Type: STRING | Optional label="Temperature" |
Name | The metric whose value(s) must be loaded by the widget. Type: METRIC | Required name="Temperature" |
Unit | The unit of measurement to be displayed along the value. Type: STRING | Optional unit="°C" |
Visibility Condition | The expression that allows you to reduce the visibility of the element. Type: STRING | Optional *ngIf="getUser().organizationId != null" |
Comments
0 comments
Please sign in to leave a comment.