question

Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 asked Jyhjeng D2 commented

Change the color of bar chart by Type

Hi:

I have a throughput by Type bar chart. And I want to show the different color bar charts for various types, like the one below. throughtput-by-type.jpg

Can I do it? The flexsim program is attached.

Primer_3-3B.fsm

FlexSim 22.0.1
change color of bar chart by type
primer-3-3b.fsm (494.6 KiB)
5 |100000

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

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Jyhjeng D2 commented

Install the chart components and change the Data Format to One bar per row. This will allow you to define a column that controls the bar color.

1679985280575.png

primer-3-3b_1.fsm


1679985280575.png (8.8 KiB)
primer-3-3b-1.fsm (500.1 KiB)
· 4
5 |100000

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

Jyhjeng D2 avatar image Jyhjeng D2 commented ·

Hi:

I installed the Data and got the Throughput By Type Collector. However, when I used the collector, I discovered a difference between yours and mine. Mine missed the Bar Size and Bar Color, as shown below.

install-data-02.jpg

Second, the color tab cannot allow me to delete the Type option, as shown below.

install-data-01.jpg

My flexsim program is attached.

Primer_3-2C.fsm


0 Likes 0 ·
install-data-02.jpg (39.1 KiB)
install-data-01.jpg (86.3 KiB)
primer-3-2c.fsm (492.4 KiB)
Jyhjeng D2 avatar image Jyhjeng D2 commented ·

Oops, I should have corrected my mistake. Now it works. I slip the notice of One bar per row. The correct program is attached. Thanks.

Primer_3-3C.fsm

0 Likes 0 ·
primer-3-3c.fsm (501.2 KiB)
Joerg Vogel avatar image Joerg Vogel Jyhjeng D2 commented ·
@Jyhjeng D2, please do not attach any models of FlexSim Primer, because some lecturer uses them in their courses. Those files destroy the undertaken effort to give learner a chance doing exercises on their own. Thank you!
0 Likes 0 ·
Jyhjeng D2 avatar image Jyhjeng D2 Joerg Vogel commented ·

Thank you for reminding me, I will take heed of it.

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.