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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

how to change the shape stroke color based on a customclass name

DR_10229857
4-Participant

how to change the shape stroke color based on a customclass name

I have created a mashup and used it in collection and am not able to change the stroke color using Custom CSS kindly some one advice what i need to do, do give the shapes different color based on their name.

3 REPLIES 3
PaiChung
22-Sapphire I
(To:DR_10229857)

Have you tried using state based definitions?

The widget should have certain properties that I think are called 'formatter' to allow for a state based definition to be associated.

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/Visualization/StyleandStateDefinitions.html

 

DR_10229857
4-Participant
(To:PaiChung)

Yeah, in that shape already data is binded from a different property so i cannot map the Machine name function to it.

PaiChung
22-Sapphire I
(To:DR_10229857)

You could always create a wrapper service to combine the necessary information you need.

Announcements


Top Tags