question

Doug C avatar image
0 Likes"
Doug C asked Doug C commented

Dashboard Pie Chart Change Segment Names

I have (4) photo eyes in my system that are tracking how many boxes pass through different areas of my simulation. I want to display the relative use of each area using a Pie Chart on my dashboard. I created a statistics collector with enumerated rows for each of my PE's and a label with the count and a descriptive name label. I created a Pie Chart but when I ran the simulation the Pie Chart generates a legend with "Segment 1", "Segment 2", "Segment 3", and "Segment 4". Is there some way to overwrite these names so the different parts of the pie chart would have some meaning?

dashboards
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joshua S avatar image Joshua S commented ·

Can you upload your model or a partial of it at least so we cna see the setup of your statstics collector?

0 Likes 0 ·
Doug C avatar image Doug C Joshua S commented ·

I can't upload my Model and making a partial model might take a little bit. Attached are screenshots of my statistics collector and pie chart. Is that enough?

0 Likes 0 ·
flexsim4.png (68.1 KiB)
flexsim5.png (75.2 KiB)
flexsim6.png (41.3 KiB)
Doug C avatar image Doug C Joshua S commented ·

Here is a partial model showing the essence of what I am working on. The Pie Chart comes up listing the legend as "Segment 1"... and I don't see any way to control the labels.

partialmodel.fsm

0 Likes 0 ·
partialmodel.fsm (35.7 KiB)

1 Answer

·
Joshua S avatar image
3 Likes"
Joshua S answered Doug C commented

Change segment color option to Name

You can then change the color associate with each name in the Colors tab.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Doug C avatar image Doug C commented ·

Okay, that is not a great name for that field then. I would be expecting it to take in an actual color value. Thanks for the help.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.