Time Plot generates a single point instead of continuous line.

Time Plot generates a single point instead of continuous line.

gudapatisriharisha
Participant Participant
312 Views
6 Replies
Message 1 of 7

Time Plot generates a single point instead of continuous line.

gudapatisriharisha
Participant
Participant

[ FlexSim 22.2.0 ]

capture-5-copy.png

Hello,

I am trying to create a time plot for the first row values of the table. Value vs Time ( as highlighted in the global table). The values in the cell are changing dynamically and I want to plot that change over time. However, there is only a single dot that is being generated and a line isn't generated inspite of the draw style option in the properties of the plot being "Line". I changed the Time value to date and time format and yet it doesn't work. The time value in the global table is a discrete number. ( generated by the "CURRENT_DAY" command).

0 Likes
Accepted solutions (1)
313 Views
6 Replies
Replies (6)
Message 2 of 7

moehlmann_fe
Advocate
Advocate
Accepted solution

A Calculated Table doesn't store values. It only contains the current result of the query.

You need to use a Statistics Collector instead. Which in this case you don't have to build yourself, necessarily. Change the table cell into a Tracked Variable.

capture1.png

Then link it to a Tracked Variable Line Chart

capture2.png

0 Likes
Message 3 of 7

gudapatisriharisha
Participant
Participant
Hello Felix,

Thank you. I shall try this and see if it works.

0 Likes
Message 4 of 7

gudapatisriharisha
Participant
Participant
Hello, It still doesn't plot the graph inspite of assigning the datatype as tracked variables.
0 Likes
Message 5 of 7

moehlmann_fe
Advocate
Advocate
Can you upload your model or share screenshots of the table and chart settings?
0 Likes
Message 6 of 7

gudapatisriharisha
Participant
Participant
Hey Felix,


Sorry, I cant share the model due to my work. But, I just tried another way. I copied the dynamic cell values to another global table and created a statistics collector table to do the time plot. It works for now, not sure for future scenarios. Thank you for helping! 🙂

0 Likes
Message 7 of 7

logan_gold
Community Manager
Community Manager

Hi @Sri, 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 comment back to reopen your question.

0 Likes