Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hi everyone,
I am using in my dashboard a gauge widge where it is showing a value.
I would like to create a state formating to change the color from my gauge.
Where I need:
When value equal 1 -> red
When value equal 2 -> green
So, I will be two variables:
One to show the gauge's value binded with "Data" and another to control the gauge's color binded with the property value formatter.
Is possible to do this?
Regards,
Solved! Go to Solution.
Hi @zyuan1
Thank you for attention.
I was not able to do it.
Then I changed the widget Gauge for widget Progress Gauge.
Regards,
Leonardo
Of course you can, just bind infotable to Gauge and give different property bindings to "Dependent Field" in "State-based Formatting" in ValueFormatter, and Data in Gauge
Hi @zyuan1
Thanks for your answer.
I have tried do it but do not worked well.
I follow this steps:
1 - Binded my variable to show the value on field "Data" from gauge;
2 - Binded my variable to control the color of gauge into the propertie "ValueFormatter";
It looked like this:
I would like to show the value but to control the color of gauge through of another variable.
Regards
Maybe you can put a Shape widget under Gauge,and assign Formating on that. So that you can control the outer range color based on another input.
Hi @zyuan1
Thank you for attention.
I was not able to do it.
Then I changed the widget Gauge for widget Progress Gauge.
Regards,
Leonardo
Hi @leokeinsfeld.
If you're saying that the Progress Gauge widget resolved your issue, please mark your last post as the Accepted Solution for the benefit of others with the same issue. If you are still searching for a solution, please let us know.
Thank you for your participation in our community!
Regards.
--Sharon