Error al ejecutar otro JSL sobre etiquetas flotantes en un gráficoEjecuta otro JSL (test.jsl) en el gráfico mediante Hover Labels,
frame = (p1 << report)[FrameBox( 1 )];
frame << Set Graphlet( Picture( loader = Include( "D:\0\test.jsl" ) ), Title( "Pie Preset" ), Reapply( 1 ) );
pero no termina. El registro en el registro es
<<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>Análisis y modelado de datos básicos</LINGO-LABEL><LINGO-LABEL>ventanas</LINGO-LABEL></LINGO-LABS>Ejemplo: Error al ejecutar otro JSL sobre etiquetas flotantes en un gráfico
Re: Error al ejecutar otro JSL sobre etiquetas flotantes en un gráficoEs muy difícil decirlo sin saber qué tiene test.jsl o cómo está escrito el resto del script. Esto, por ejemplo, abre el título correctamente (y muestra cuán agresiva es la activación de la etiqueta al pasar el 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)
);