Skip to main content
1-Visitor
March 30, 2020
Solved

How to change color scheme for Progress Gauge widget for various value ranges?

  • March 30, 2020
  • 1 reply
  • 2477 views

I am using Progress Gauge widget to show some data. My requirement is to change the color of Progress gauge widget when value changes, for example I want color "Red" for 0 to 30 , color "yellow" for 31 to 60 etc.

I am using ThingWorx 8.5.

 

Thank you.

Best answer by cmorfin

Hi @Marcus_Konflanz 

 

You should be able to achieve this using state formatting for ProgressFormatter attribute - you can also use the ValueFormatter if you want the color of the value follow the same colour scheme as the progress bar.

 

Regards

Christophe

 

1 reply

cmorfin19-TanzaniteAnswer
19-Tanzanite
March 31, 2020

Hi @Marcus_Konflanz 

 

You should be able to achieve this using state formatting for ProgressFormatter attribute - you can also use the ValueFormatter if you want the color of the value follow the same colour scheme as the progress bar.

 

Regards

Christophe

 

1-Visitor
April 1, 2020
hello @cmorfin @ thanks for your time and help. 
however I don't know if I'm having configuration problems,
or if these tools are no longer available, as they are not a difficult encounter. anyway, I am grateful for your attention

 

 

19-Tanzanite
April 1, 2020

Hi @Marcus_Konflanz 

I am not sure if I understand well your last post. Are you saying you do not see the ProgressFormatter attribute in the Progress Gauge widget ?

I am using ThingWorx 8.5.4 with Progress Gauge 2.0.0 and I do have them.

 

Christophe