在图形上的悬停标签上运行另一个 JSL 失败通过悬停标签在图表上运行另一个 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 失败
回复:在图表上的悬停标签上运行另一个 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)
);