Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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).
Solved! Go to Solution.
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.
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.