The ProgressIndicator shows the progress of some process in a bar. The progress is shown as a percentage of the filling of the bar where the value can be larger than 100%. By default, the value is shown inside the bar
(displayValue
property). The color of the ProgressIndicator can be set using the barColor
property.
The possible colors are defined in enumeration sap.ui.core.BarColor
.
In this example, a simple ProgressIndicator with the basic features is shown.
It is possible to change the value of the ProgressIndicator. The value switch is displayed as an animation starting at the old value and ending at the new one. The value is changed using the setPercentValue
method.
In this ProgressIndicator example, no value is displayed inside the bar; the display of the value can be ruled using the showValue
property. In this example, also the usage of different colors for the value display (barColor
property) is shown.