Skip to main content
1-Visitor
July 9, 2022
Question

ThingWorx PieChart: How to differentiate TWX Pie Chart color for the dynamic fields

Hi community team,

 

How do we differentiate TWX Pie Chart color for the dynamic fields?

Thingworx Pie Chart is showing the same color for all the fields. I want different colors to be shown among different dynamic data.

 

ThingWorx Version 9.3.2

@PEHOWE @PaiChung @slangley 

1 reply

14-Alexandrite
July 11, 2022

Hello,

I recommend you to create a "State Definition" which contains different color schemes (Style Definitions).

 

Then, in the widget properties, under "ColorFormat", you can set the "State-based Style Definitions" checkbox and refer to your created state definition.

After that a mapping to your values is possible.

 

I don't know how your dynamic data is structured, however, you may be able to add a percentage value, thus limiting the maximum value. I hope this helps you anyway.

 

Best regards

Marc

Translate