Hola,
I have the following JSL code that creates a Graph Builder plot inside a For loop. It works correctly in JMP 14 but produces wrong output in JMP 16.
Código JMP 14 (funciona correctamente):
gb = Expr(
dt << Graph Builder(
Size( 635, 338 ),
Show Control Panel( 0 ),
Variables( X( :Time Point Months ), Y( :Result ), Overlay( :Batch ) ),
Elements(
Points( X, Y, Legend( 1 ) ),
Line Of Fit( X, Y, Legend( 2 ), Confidence of Fit( 0 ) )
),
Local Data Filter(
invisible,
Add Filter(
columns( :Component, :Batch, :Source Table ),
Where( :Component == numPar[i] ),
Where( :Batch == {cyc, bat}),
Where( :Source Table == dt_name )
)
),
SendToReport(
Dispatch(
{},
"Time Point Months",
ScaleBox,
{Min( -0.1 ), Max( maxvalts ), Inc( 2 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( numPar[i] || " vs. Time Point" )}
),
Dispatch( {},
"Y title",
TextEditBox,
{Set Text( yTitleText)}
),
Dispatch(
{},
"Result",
ScaleBox,
{Format( "Fixed Dec", 10, 3 ),
Min( Eval( minval )),
Max( Eval( maxval )),
Inc( Eval( (maxval - minval) / 10 ))}
)
)
)
);
col1 << Append(gb);
¿Cambió la sintaxis del Generador de gráficos o el comportamiento del Filtro de datos local entre JMP 14 y JMP 16? ¿Cómo debería reescribirlo para que funcione correctamente en JMP 16?
Es probable que los bits de despacho (...) hayan cambiado. Las imágenes de antes y después, los mensajes de error y los datos de muestra ayudarán a alguien a ver qué está sucediendo.