グラフビルダーオブジェクトの要素を削除するにはどうすればよいですか? [プラットフォーム、JMP16]こんにちは、
データベースからスクリプトを実行してグラフを生成できるスクリプトがあります。 次に、このグラフから要素を削除すると、スクリプトでスタックします... このスクリプトはJMP15で機能しましたが、JMP16では機能しなくなりました。
「top」を「topparent」に置き換えましたが、コード自体は機能していても、プラットフォームに配置すると機能しなくなります。 誰かが同様の問題に遭遇しましたか?
次のエラーがあります:

//:*/
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;
);
スクリプティングRe:グラフビルダーオブジェクトの要素を削除する方法は? [プラットフォーム、JMP16]グラフが描画されなかったため、エラーが発生しているようです。 私はplatform()関数を使用していませんが、新しいwindow()内のvlistbox(または他の表示ボックスコンテナー)に追加すると、グラフが描画されます。 次に、グラフが描画された後、<< delete()コマンドを最後に移動します。 別のスライダーボックスを削除することをお勧めします。これがbigclass.jmpの例です
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;