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 )
)
),
Puede configurar diferentes cadenas para la parte Ubicación, no tengo idea de lo que significan, pero al menos he visto:
- "Guión incrustado"
- "nombre"
- "Tabla de datos actuales"
- "Ruta completa"
Basándome solo en las diferentes cadenas, lo más probable es que intente utilizar la tabla de datos actual o el script integrado (pero esto depende de su aplicación completa). O si solo necesita un panel, omitiría la aplicación JMP y usaría Nueva ventana/Proyecto JMP.