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 )
)
),
위치 부분에 다른 문자열을 설정할 수 있습니다. 이것이 무엇을 의미하는지 모르겠지만 적어도 다음을 보았습니다.
- "임베디드 스크립트"
- "이름"
- "현재 데이터 테이블"
- "전체 경로"
다양한 문자열을 기반으로 현재 데이터 테이블이나 내장 스크립트를 활용하려고 시도할 가능성이 높습니다(그러나 이는 전체 응용 프로그램에 따라 다릅니다). 아니면 대시보드만 필요한 경우 JMP 앱을 건너뛰고 새 창/JMP 프로젝트를 사용합니다.