Skip to main content
Dec 19, 2018 7:13 AM UTC
Solved

Create Progress bar using shape with fill percentage

Hi,

Can anyone please help me in providing solution to create progress bar using shape?  Have seen some comments in one of post that can be done with shape. Attaching screen shot for reference , I  need to change color to red from green when it is close to threshold value.  

 

Dec 19, 2018 9:36 AM UTC

You just need to bind the progress on the Data property of Shape Widget, in order to change color you should leverage the StateFormatting property accordingly, some other properties to check

 

  • EnableDynamicFill = true
  • Gradient Orientation = Horizontal
  • DynamicRangeMinimum / Maximum to set your progress value range ( 0..1 or 0..100 for instance)
  • DynamicFillOrientation = Horizontal
  • RectangleCornerRadious = 0

3 replies

Dec 19, 2018 9:36 AM UTC

You just need to bind the progress on the Data property of Shape Widget, in order to change color you should leverage the StateFormatting property accordingly, some other properties to check

 

  • EnableDynamicFill = true
  • Gradient Orientation = Horizontal
  • DynamicRangeMinimum / Maximum to set your progress value range ( 0..1 or 0..100 for instance)
  • DynamicFillOrientation = Horizontal
  • RectangleCornerRadious = 0
TIRUNLAuthor
Dec 19, 2018 10:04 AM UTC

Thank you. It worked 🙂

Dec 19, 2018 2:46 PM UTC

Hi @TIRUNL.

 

For the benefit of others with the same question, please mark the reply from @CarlesColl as the Accepted Solution.

 

Thank you for your participating in our Community!

 

Regards.

 

--Sharon