Attribute Metadata - Progressbar
Attribute Metadata - Progressbar
Progress bar is a presentation mode for number and decimal number fields. It is activated by setting value for progressbarMax metadata. Progress bar is shown on data card view and on list view.
Table 1. Optional Attribute Metadata
| Name | Value | Description |
|---|---|---|
progressbarMax |
Any integer value or decimal with dot |
Setting this metadata activates progress UI component and sets the maximum value for One of max settings is required, either |
progressbarMaxFromAttribute |
A code of an integer or decimal attribute from current template |
This metadata sets maximum value for progress bar based on specified attribute from the same data card. If not selected, value from IMPORTANT! Works only on new data card UI version 2021. |
progressbarScale |
Any integer value | Defines that current and maximum values will be scaled by progressbarScale value. For example if value is 0.5 and progressbarMax is 1 then on progress bar label by default 0.5 / 1 is displayed. After setting progressbarScale to 2 current value and maximum will be multiplied by this value and 1 / 2 will be displayed. |
progressbarMode |
[percentage | value] |
Defines how progress bar label is shown. " If not defined, the default is " |
Table of Contents