Progress Circle with an option to set the color based on the value assigned variable - Mendix Forum

Progress Circle with an option to set the color based on the value assigned variable

0

Dear  forum, 

If a progress circle is used to display the KPI and now user wants to display also the indication of various levels ( Good, Warning and Alarm indications), by changing the color of the circle to green, yellow or red ..  Now we dont have an option , we must either gauge control or write custom widget to achieve this. 

This would help  a lot ,  because the same widget in Powerbi , custom color can be created using easy rules ( like in Excel) 

Thanks for giving freedom to express my views 

asked
1 answers

not sure, but you might be able to hijack contidional classes for this.

if circle < 80% add class ”indicator-success”

if circle > 50% add class ”indicator-danger”

and in your sass make indicator-success change the color.

Created