cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to change background of label based on services?

bgupta-2
9-Granite

How to change background of label based on services?

Dear Team,

I need to change background color of label based on service return value.

Please suggest.

2 REPLIES 2
supandey
19-Tanzanite
(To:bgupta-2)

Bhuwaneshwar, does it have to be Label widget? Why I am asking this is because Label Widget is pretty simple widget and doesn't have something like State-based Formatting which is available with Value display widget.

If it has to be Label widget for displaying data then may be you can workaround using multiple of those Label widgets with predefined color style, placed on top of each other and set disable and enable the visibility of the label of the required color based on the output you are getting from the service.

Hope that helps.

Thanks Sushant.

Top Tags