こんにちはコミュニティです。 ChatGPT からのこのスクリプトで問題が発生しました。 「選択ボックス」で特定の列を選択し、仕様制限の上限と下限を設定して、列のプロパティでグラフ参照線としても表示できるスクリプトを構築したいと考えています。 その後、Fit Y by X グラフが開き、下の図のように表示されます。 助けてください...@txnelson
// Open a data table or replace "Data Table Name" with the name of your data table
dt = Current Data Table();
// Get the column names from the data table
columnNames = dt << Get Column Names("String");
// Create a new choice list
cl = New Window("Column Selection",
H List Box(
Choice Box(
columnNames,
"Select a Column",
Value(columnNames[1]),
Set Selected
),
Button Box("OK",
<<CLOSE window=""></CLOSE>