你好社区。 我在使用 ChatGPT 的脚本时遇到问题。 我想构建一个脚本,可以在“选择框”中选择特定列并设置规格限制上限和下限也显示为列属性上的图形参考线。 之后,它将打开“Fit Y by X”图表,如下图所示。 请帮忙...@tx尼尔森
// 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>