L'esecuzione di un altro JSL sulle etichette al passaggio del mouse su un grafico non è riuscitaEsegue un altro JSL (test.jsl) sul grafico tramite Hover Labels,
frame = (p1 << report)[FrameBox( 1 )];
frame << Set Graphlet( Picture( loader = Include( "D:\0\test.jsl" ) ), Title( "Pie Preset" ), Reapply( 1 ) );
ma non finisce. Il record nel registro è
<<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>Analisi e modellazione dei dati di base</LINGO-LABEL><LINGO-LABEL>finestre</LINGO-LABEL></LINGO-LABS>Nota: L'esecuzione di un altro JSL sulle etichette al passaggio del mouse su un grafico non è riuscita
Ri: L'esecuzione di un altro JSL sulle etichette al passaggio del mouse su un grafico non è riuscitaMolto difficile da dire senza sapere cosa contiene test.jsl o come è scritto il resto dello script. Questo, ad esempio, apre correttamente la didascalia (e mostra quanto sia aggressiva l'attivazione dell'etichetta al passaggio del mouse)
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)
);