Re: ¿Cómo eliminar elementos en un objeto generador de gráficos? [ Plataforma, JMP16]Parece que el error está ocurriendo porque el gráfico no se dibujó. No he usado la función de plataforma (), pero si la agrega en un vlistbox (u otro contenedor de cuadro de visualización) dentro de una nueva ventana (), entonces se dibuja el gráfico. Luego mueva los comandos <
names default to here (1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
nw = new window("test", );
nw << append(Platform(
dt,
gb1 = Graph Builder(
Size( 575, 508 ),
Show Control Panel( 0 ),
Variables(
X( :height),
Y( :age ),
Overlay( :name )
),
Elements( Line( X, Y, Legend( 4 ), Missing Values( "Connect Dashed" ) ), Points( X, Y, Legend( 1 ) ) ),
Column Switcher(
Column( "height" ),
{Column( "height" ), Column( "weight" )},
Title( "Date Switcher" )
),
Column Switcher( :age, {:age, :sex}, Title( "Stat Switcher" ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title(
"Time Line by Date -!" || "Range SiO2 BASE" || " by " || "3ACTI__Chambre__EQPID__B"
), Image Export Display( Normal )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
);
));
(gb1 << top parent)[Lineup Box( 1 )] << delete;
(gb1 << top parent)[Popup Box( 1 )] << delete;
(gb1 << top parent)[Text Box( 1 )] << delete;
(gb1 << top parent)[Lineup Box( 1 )] << delete;
(gb1 << top parent)[Slider Box( 1 )] << delete;
(gb1 << top parent)[Popup Box( 1 )] << delete;
(gb1 << top parent)[Text Box( 1 )] << delete;¿Cómo eliminar elementos en un objeto generador de gráficos? [Plataforma, JMP16]Buenos dias,
Tengo un script que me permitió ejecutar un script desde una base de datos para generar un gráfico. Luego elimino elementos de este gráfico y ahí es donde se atasca en el script... Este script funcionó en JMP15 pero ya no funciona en JMP16.
Ya he reemplazado "top" por "top parent", pero incluso si el código en sí funciona, cuando lo coloco en una plataforma ya no funciona. ¿Alguien ha encontrado un problema similar?
Tengo el siguiente error:

//:*/
Platform(
Data Table( "3.1.2 - 3ACTI__Chambre__EQPID__B - Time Lines Table" ),
gb1 = Graph Builder(
Size( 575, 508 ),
Show Control Panel( 0 ),
Variables(
X( Column( "3ACTI__DAY__B" ) ),
Y( :Mean ),
Overlay( Column( "3ACTI__Chambre__EQPID__B" ) )
),
Elements( Line( X, Y, Legend( 4 ), Missing Values( "Connect Dashed" ) ), Points( X, Y, Legend( 1 ) ) ),
Column Switcher(
Column( "3ACTI__DAY__B" ),
{Column( "3ACTI__DAY__B" ), Column( "3ACTI__WEEK__B" ), Column( "3ACTI__MONTH__B" )},
Title( "Date Switcher" )
),
Column Switcher( :Mean, {:Mean, :Median, :Std Dev}, Title( "Stat Switcher" ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title(
"Time Line by Date -!" || "Range SiO2 BASE" || " by " || "3ACTI__Chambre__EQPID__B"
), Image Export Display( Normal )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
);
(gb1 << top parent)[Lineup Box( 1 )] << delete;
(gb1 << top parent)[Popup Box( 1 )] << delete;
(gb1 << top parent)[Text Box( 1 )] << delete;
(gb1 << top parent)[Lineup Box( 1 )] << delete;
(gb1 << top parent)[Slider Box( 1 )] << delete;
(gb1 << top parent)[Popup Box( 1 )] << delete;
(gb1 << top parent)[Text Box( 1 )] << delete;
);
Ingeniería de Calidad y Procesos