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

How to change background of label based on services?

Highlighted
Gravel

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

Re: How to change background of label based on services?

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.

Re: How to change background of label based on services?

Thanks Sushant.