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 )
)
),
Vous pouvez définir différentes chaînes dans la partie Location, je n'ai aucune idée de ce que cela signifie mais j'ai vu au moins :
- "Script intégré"
- "nom"
- "Tableau de données actuel"
- "Chemin complet"
En me basant uniquement sur les différentes chaînes, j'essaierais très probablement d'utiliser la table de données actuelle ou un script intégré (mais cela dépend de votre application complète). Ou si vous avez juste besoin d'un tableau de bord, j'ignorerais l'application JMP et utiliserais Nouvelle fenêtre/Projet JMP.