Skip to main content
1-Visitor
September 28, 2020
Solved

Progress Gauge State formatting

  • September 28, 2020
  • 1 reply
  • 1337 views

Hi

 

I have a use-case wherein I want to have multiple state formatting operators in one widget only depending upon the value. 

For eg If 0 >=value<= 30 == Green, 30 > value <= 70 == Yellow and value >= 75 == Red. If the value is set to 80 the progress gauge should visualize all three colors at the same time. Please find attached image of gauge widget for reference. Is there a way around to achieve the same with a Progress gauge?

 

Thanks 

Best answer by emscur

Hello @ketanaga,

 

This is not standard functionality of the Progress Gauge widget as it only accepts one color for field defined in the state definition. However, you can modify this widget's code to mirror the functionality of the Gauge widget.

 

You can get started with extensions development by following the steps in Getting Started Tutorial of the ThingWorx Visual SDK.

 

Thanks,

Emmanuel

1 reply

emscur5-Regular MemberAnswer
5-Regular Member
September 28, 2020

Hello @ketanaga,

 

This is not standard functionality of the Progress Gauge widget as it only accepts one color for field defined in the state definition. However, you can modify this widget's code to mirror the functionality of the Gauge widget.

 

You can get started with extensions development by following the steps in Getting Started Tutorial of the ThingWorx Visual SDK.

 

Thanks,

Emmanuel