Wie lösche ich Elemente in einem Graph Builder-Objekt? [Plattform, JMP16]Hallo,
Ich habe ein Skript, mit dem ich ein Skript aus einer Datenbank ausführen konnte, um ein Diagramm zu generieren. Dann entferne ich Elemente aus diesem Diagramm und dort bleibt es im Skript hängen ... Dieses Skript funktionierte in JMP15, funktioniert aber nicht mehr in JMP16.
Ich habe bereits "top" durch "top parent" ersetzt, aber selbst wenn der Code an sich funktioniert, funktioniert er nicht mehr, wenn ich ihn in eine Plattform einfüge. Ist jemand auf ein ähnliches Problem gestoßen?
Ich habe folgenden Fehler:

//:*/
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;
);
SkripterstellungBetreff: Wie lösche ich Elemente in einem Graph Builder-Objekt? [Plattform, JMP16]Es sieht so aus, als ob der Fehler auftritt, weil das Diagramm nicht gezeichnet wurde. Ich habe die Funktion platform() nicht verwendet, aber wenn Sie sie in einer vlistbox (oder einem anderen Anzeigebox-Container) in einem neuen window() anhängen, wird das Diagramm gezeichnet. Verschieben Sie dann die <
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;