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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Is it possible to create progress bar in mashup?

Porcelain_
6-Contributor

Is it possible to create progress bar in mashup?

1 ACCEPTED SOLUTION

Accepted Solutions

 

You need to create a new State Definition entity and need to define the State Information based on Value. And update that in shape widget.

Arun_C_2-1704962853767.png

 

Arun_C_0-1704962565916.png

 

View solution in original post

4 REPLIES 4
Porcelain_
6-Contributor
(To:Porcelain_)

Emmm, sorry I found use slide bar as progress bar and add label widget on the top of it and bind same data of these two can achieve this goal.

 

Hi @Porcelain_ ,

 

You can use Shape Widget in 1 Contanier (required height & width & grey background) by pass numeric value to Data widget property and updating below given properties in widget you can achieve progress bar.

  • EnableDynamicFill  - True
  • DynamicFillOrientation - Horizontal 
  • ShapeType - Rounded Rectangle
  • RectangleCornerRadius - As per requirement
  • Shape -State Definition (defined colors based value)

Expected Out:

Arun_C_0-1704961693811.png

Thanks & Regards,

Arun C

Porcelain_
6-Contributor
(To:Arun_C)

Thanks! but can you show me the Shape -State Definition (defined colors based value please?

Because when I trying to do this but my shape always fulfill with same color.

螢幕擷取畫面 2024-01-11 163611.png螢幕擷取畫面 2024-01-11 163635.png螢幕擷取畫面 2024-01-11 163647.png螢幕擷取畫面 2024-01-11 163705.png

Here is my result.

 

You need to create a new State Definition entity and need to define the State Information based on Value. And update that in shape widget.

Arun_C_2-1704962853767.png

 

Arun_C_0-1704962565916.png

 

Top Tags