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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Pie Chart not showing colors

shraddha_21
5-Regular Member

Pie Chart not showing colors

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.

5 REPLIES 5

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

PieError.png

 

/VR

shraddha_21
5-Regular Member
(To:Velkumar)

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.

 

shraddha_21_0-1709558566659.png

 

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:

Velkumar_0-1709619545072.png

 

With some value:

Velkumar_1-1709619589089.png

 

State Definition:

Velkumar_2-1709619644625.png

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

 

shraddha_21
5-Regular Member
(To:Velkumar)

Hi @Velkumar 

 

The value field is not null, it is pc column which is having data.

shraddha_21_0-1709622477473.png

 

And by removing state formatting I mean is if color formatting is in default, then the pie chart comes with all the data.

shraddha_21_1-1709622645720.png 

shraddha_21_2-1709622666274.png

 

 

 

 

Hi @shraddha_21 

 

Could you please tell me your Thingworx Version

 

/VR

Announcements


Top Tags