I have a long script where in the first part different data tables are joined together and some calculations are made. The result of this part are 3 data tables and several graphs in one of the data tables. The second part of the script would create a dashboard from the already made graphs/plots. If I run the script it makes an empty dashboard, but if I run the first part then select the data table containing the graphs/plots and run the second part of the script then the dashboard is made correctly. I tried to put a dt = Data Table("Name"), before JMP App( but it has not worked. I also tried to put the data table name in Location( "" ), that has not worked, however when I put "Name" in location I got a pop-up question to choose the data table.
JMP App(
Set Name( "Dashboard" ),
Set Description( "Six reports arranged in a grid" ),
Auto Launch( 1 ),
Snap To Grid( 1 ),
Show Grid( 1 ),
Show Properties( 0 ),
Show Sources( 1 ),
Group By Category( 0 ),
Dashboard Mode( 1 ),
Parameters,
Tables(
DataTable1 = GuiTable(
Set Path( "" ),
Set Label( "Plots" ),
Location( "" ),
Invisible( 0 )
)
),
Sie können dem Standortteil verschiedene Zeichenfolgen zuweisen. Ich habe keine Ahnung, was diese bedeuten, aber ich habe zumindest Folgendes gesehen:
- "Eingebettetes Skript"
- "Name"
- "Aktuelle Datentabelle"
- "Vollständigen Pfad"
Allein aufgrund der unterschiedlichen Zeichenfolgen würde ich höchstwahrscheinlich versuchen, Current Data Table oder Embedded Script zu verwenden (das hängt jedoch von Ihrer gesamten Anwendung ab). Oder wenn Sie nur ein Dashboard benötigen, würde ich JMP App überspringen und New Window / JMP Project verwenden.