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

Value Display - State Format

Sathishkumar_C
17-Peridot

Value Display - State Format

I want to show multiple icons with respect integer using "Value Display and State Formatting".

Ex:

1 - Icon 1

2 - Icon 2

3 - Icon 3

Others - Icon 4

 

But, I don't want to display integer value(1, 2, 3, Others). 

1 ACCEPTED SOLUTION

Accepted Solutions
Mukul
13-Aquamarine
(To:Sathishkumar_C)

You have two options
1) use a legacy value display widget, it will automatically display the icon only on the basis of value.

2) if you are using ptcs value display widget, you can apply a tweak. go to style properties of that widget go to Base->item value->color. put the color value as white(matching with your panel/container background color). In this way, the user will not be able to see the value. it will just bring up the icon. Make sure the style definition which you create and put for every value in state definition only has the required icon and no other background/text color. 

View solution in original post

2 REPLIES 2
Mukul
13-Aquamarine
(To:Sathishkumar_C)

You have two options
1) use a legacy value display widget, it will automatically display the icon only on the basis of value.

2) if you are using ptcs value display widget, you can apply a tweak. go to style properties of that widget go to Base->item value->color. put the color value as white(matching with your panel/container background color). In this way, the user will not be able to see the value. it will just bring up the icon. Make sure the style definition which you create and put for every value in state definition only has the required icon and no other background/text color. 

Thanks for your suggestions.

Top Tags