그래프의 호버 레이블 위에 다른 JSL을 실행하지 못했습니다.Hover Labels로 그래프에 또 다른 JSL(test.jsl)을 실행합니다.
frame = (p1 << report)[FrameBox( 1 )];
frame << Set Graphlet( Picture( loader = Include( "D:\0\test.jsl" ) ), Title( "Pie Preset" ), Reapply( 1 ) );
하지만 끝나지 않습니다. 로그의 기록은 다음과 같습니다.
<<ORIENTATION><<PASTE><<GET annotation=""><<ADD polygon="" pin=""><<SAVE presentation=""><<SET window="" id=""><<SIZE><<PRINT><<CLOSE icon="" min="" size=""><<UI only.="">< ode></UI></CLOSE></PRINT></SIZE></SET></SAVE></ADD></GET></PASTE></ORIENTATION>Object 'LegendBox' does not recognize the message 'Position'; perhaps you mean one of these: <
However, if run test.jsl directly, it will get the correct result.<BR />Do not know the specific reason?
Thanks!
<LINGO-LABS id="lingo-labs-725700" slang="en-US" mode="CREATE"><LINGO-LABEL>기본 데이터 분석 및 모델링</LINGO-LABEL><LINGO-LABEL>윈도우</LINGO-LABEL></LINGO-LABS>답: 그래프의 호버 레이블을 통해 다른 JSL을 실행하지 못했습니다.
Re: 그래프의 호버 레이블 위에 다른 JSL을 실행하는 데 실패했습니다.test.jsl이 무엇인지, 스크립트의 나머지 부분이 어떻게 작성되었는지 알지 못하면 말하기가 매우 어렵습니다. 예를 들어 캡션이 올바르게 열립니다. 호버 라벨이 얼마나 공격적으로 트리거되는지 보여줍니다.
Names Default To Here(1);
::myglobal = 1;
dt = Open("$SAMPLE_DATA/Big Class Families.jmp");
gb = dt << Graph Builder(
Show Control Panel(0),
Variables(X(:age), Y(:weight)),
Elements(Bar(X, Y, Legend(7)))
);
myscript = JSL Quote(
Names Default To Here(1);
Caption(Char(::myglobal++));
);
Save Text File("$TEMP/testscript.jsl", myscript);
frame = (gb << report)[FrameBox(1)];
frame << Set Graphlet(
Picture(
Include("$TEMP/testscript.jsl");
),
Reapply(1)
);