ThingWorx PieChart: How to differentiate TWX Pie Chart color for the dynamic fields
‎Jul 09, 2022
07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 09, 2022
07:24 AM
ThingWorx PieChart: How to differentiate TWX Pie Chart color for the dynamic fields
Labels:
- Labels:
-
Mashup-Widget
1 REPLY 1
‎Jul 11, 2022
09:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 11, 2022
09:54 AM
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