question

Liam Chiu avatar image
0 Likes"
Liam Chiu asked Jacob W2 commented

How to change the name of the item in boxplot?

Hi, there.

I'm trying to change name of the item in a boxplot, but I've found it doesn't work~

I want to specify type one as Top Tube, and type two as Down Tube.

How can I change the name~?


Thank you for your advance.

1662356361295.png

1662356404187.png

FlexSim 20.1.3
box plots
1662356361295.png (102.9 KiB)
1662356404187.png (66.2 KiB)
· 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.

Jacob W2 avatar image Jacob W2 ♦ commented ·

Hi @Wei_cheng Chiu, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

Dashboard charts draw their data from (internal) statistics collectors or calculated tables. To change what is displayed you have to adjust the settings of those. I assume you are using an "Interval By Type" milestone collector. To be able to access the connected statistics collector you first have to "install" its components.

1662358862549.png

In the "Columns" tab of the collector that should appear in the toolbox, you can then adjust what data is written to the "Type" column and used to label the data in the chart.

You can replace the text for the first two types with simple if-conditions in custom code. In your screenshots it looks like the type values are already in string format (text). If not, you would have to change the column's storage type and convert the rest of the values to text because you can't mix data types in a single column (to convert, you would use the command "string.fromNum(...)").

1662358829135.png


1662358829135.png (59.7 KiB)
1662358862549.png (17.8 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.