Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi Community Team,
I am using state based formatting in Pie chart to show the colors, earlier it was fine but since past few days the colors are not coming for some fields, but for certain inputs. But for one input all the colors are coming fine.
For eg : For Hot Mill, Production is coming as white but for SMS Cold Mill it is showing the right color.
Hi @shraddha_21
Could you please post your service output?
Also, check whether State Definitions Value matches with Service Output values
Here I can see SET UP is different from the state definition value Setup
/VR
Hi @Velkumar
This is the service output. The state definition values I have corrected. One thing is that if I remove state definition color formatting, it comes fine.
Hi @shraddha_21
Based on sample data I found out null value for data Utilisation causing some issues in the Pie chart (in Thingworx 9.4.0)
Null value:
With some value:
State Definition:
Please provide the Default value in the State Definition
Could you please make the null value to zero and try again. Also let me know your Thingworx version
What do you mean by "I remove state definition color formatting, it comes fine"
/VR
Hi @Velkumar
The value field is not null, it is pc column which is having data.
And by removing state formatting I mean is if color formatting is in default, then the pie chart comes with all the data.