Hi Andries,
Thanks for all your contributions.
What is the recommended way to use to progress bar 1.0. A long running microflow is actually executed at the end, so the progress bar is not updated linearly. What is the best way to show the app is running and will be ready within an expected time?
Hi Andries,
Is there a possibility to implement a multi-color progressbar?
Percent 0 - 50 are green (safe zone)
50-70 is yellow (warning)
and higher is red( danger)
Would seem like a fine addition!
For example:
There is also work around us the format string widget, for stacked progress bar:
<div class="progress">
<div class="progress-bar progress-bar-success" style="width: ${0}%">
<span class="sr-only">${0}% Billable Hours Booked</span>
</div>
<div class="progress-bar progress-bar-warning" style="width: ${1}%">
<span class="sr-only">${1}% Non Billable Hours Booked)</span>
</div>
<div class="progress-bar progress-bar-danger" style="width: ${2}%">
<span class="sr-only">${2}% Missing Booked Hours</span>
</div>
</div>
For multiply colored progress bar:
<div class="progress">
<div class="progress-bar ${0}" style="width: ${1}%">
<span class="sr-only">${1}% Hours Booked</span>
</div>
</div>
Use case:
A user has a limited time to work on a case. Say 10 hours (aka 100%) The user logs hours on this case. So my progress integer increases.
The first 3 hours would be safe (still a lot of time to go) so it would be green. After he logs his 4th hour, the bar would get an extra yellow color until the 8th hour, when it will get an extra red piece.
So the stacking progressbar is correct in terms of layout, but I only want to use one attribute for this ( or 2 since I might have to keep track of the spendable hours)
Maybe it can be done with your example, but I'm not sure how to go forward.
I can only see integer values against the progress bar. In mendix v6.10.3 which I am using, i want to show a decimal value (let's say 50.4%) against the progress bar. Just wandering, how can it be achieved? Note: Even though I am passing a decimal value, the progress bar is showing rounded integer value.