question

Jon Abbott avatar image
0 Likes"
Jon Abbott asked api answered

Is there a way to safely copy or move dashboard graphs between dashboards?

When I try to copy a dashboard graph from one dashboard and paste it into another, it appears to look and work fine, until I double-click on it to open its properties... then I get the following errors in the System Console:

exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/CensusThreeTables>eventfunctions/shouldShow c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/CensusThreeTables
exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/CensusTwoTables>eventfunctions/shouldShow c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/CensusTwoTables
exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/Subsets>eventfunctions/shouldShow c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/Subsets
exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/PartitionsSorting>eventfunctions/shouldShow c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/PartitionsSorting
exception: FlexScript exception: Method find() called on node that does not exist at VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/TimePlotSettings>eventfunctions/shouldShow c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol>variables/tabs/TimePlotSettings
exception: FlexScript exception: Method find() called on node that does not exist at VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Colors/ChoosePalette>eventfunctions/coldlinkx c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Colors/ChoosePalette i: MODEL:/Tools/Statistics/Time Waiting Flow OBJ_2
exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Advanced>eventfunctions/coldlinkx c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Advanced i: MODEL:/Tools/Statistics/Time Waiting Flow OBJ_2
exception: FlexScript exception: Property "value" accessed on invalid node. at VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Advanced/DataPlacementPanel/EditDataPlacement>eventfunctions/coldlinkx c: VIEW:/active/ChartTemplateProperties704709328/tabcontrol/Advanced/DataPlacementPanel/EditDataPlacement i: MODEL:/Tools/Statistics/Time Waiting Flow OBJ_2


This happens each time the graph properties are opened. Is there a way to safely copy or move a dashboard graph from one dashboard to another that doesn't produce these errors? Thanks in advance for your help.

FlexSim 20.1.2
dashboardsflexsim 20.1.2error messagegraphscopy
· 6
5 |100000

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

Matt Long avatar image Matt Long commented ·

@Jon Abbott,

I'm not able to duplicate this issue. What is the specific dashboard type you are copying?

0 Likes 0 ·
Jon Abbott avatar image Jon Abbott Matt Long commented ·

Hi @Matt, thanks for the reply. It's a histogram... I've attached a simplified sample model below which will help to reproduce the issue. I believe this model was originally created in 18.1 but the issue persists even with 20.1.2. Steps to reproduce are:

  1. Click histogram box in Dashboard2
  2. Press Ctrl-c to copy it to the clipboard
  3. Click in the Dashboard1 gray area
  4. Press Ctrl-v to paste the chart
  5. Double-click the chart in Dashboard1 to open its properties

From there, you should see the error messages in the System Console. The properties window for the copied histogram only shows the Colors and Advanced tabs, whereas the original histogram shows tabs for Options, Settings, Text, Colors, Sorting, and Advanced. Please let me know if you have any questions, and thanks again for your help.

histogram-chart-copy-issue.fsm

0 Likes 0 ·
Matt Long avatar image Matt Long Jon Abbott commented ·
Sorry can you try and reupload that model? Answers has been having issues with properly handling attachments.
0 Likes 0 ·
Show more comments
Matt Long avatar image
0 Likes"
Matt Long answered Matt Long commented

This is a bug. Looks like it's specific to the Histogram chart. I'll add it to the dev list.

· 2
5 |100000

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

Jon Abbott avatar image Jon Abbott commented ·

Thanks, @Matt! Do you know if other types of graphs are safe to copy from one dashboard to another?

0 Likes 0 ·
Matt Long avatar image Matt Long Jon Abbott commented ·

Most of the charts have been tested so you should be able to copy the rest of them. Bar, pie line, gantt, sankey charts, tables.

1 Like 1 ·
api avatar image
0 Likes"
api answered
Closing outdated question
5 |100000

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