如果没有看到您正在使用的数据表或完整的脚本,我不能肯定地说,但我的猜测是第 4 行的 Column Switcher 消息没有成功创建列切换器。 例如,如果第一个参数不是对 RAW_DATA_TABLE 中列的引用,则列切换器未成功创建,这意味着 Get List 无法返回列列表作为 N 项的参数。
确保 :Name( "Y" ) 返回您期望的列引用,并且 without_limits 是列引用列表。
大家好,
我正在尝试制作一个集成平台链接的窗口,该窗口使得:
- 统计表,
- 和一个图表
统计表和图表基于用户选择,集成了列切换器。
最后,一切都与平台链接相连。
我根据两个不同的列表进行了完全相同的编程。
其中之一运行得非常好。
然而,第二个,我收到这样的消息:
“访问或评估“N 个项目”时,Number of items() 参数必须是一个列表,...”

这是我的程序:
Current Data Table( RAW_DATA_TABLE );
New Window( "Test",
V List Box(
coltstst1 = RAW_DATA_TABLE << Column Switcher( :Name( "Y" ), without_limits ),
Cadreall1 = Tabulate(
Show Control Panel( 0 ),
Add Table(
Row Table( Analysis Columns( :"Y" ), Statistics( N ) ),
Row Table( Analysis Columns( :Date ), Statistics( Min, Max ) )
),
),
// Création des statistiques descriptives
graph1 = Control Chart Builder(
Size( 534, 450 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Sort by Row Order( 1 ),
Show Limit Summaries( 0 ),
Variables( Subgroup( :Numéro de lot ), Y( "Y" ), Phase( :"Version" ) ),
Chart( Points( Statistic( "Individual" ) ), Limits( Sigma( "Moving Range" ), Show Lower Limit( 0 ), Show Upper Limit( 0 ) ) ),
SendToReport( Dispatch( {}, "Control Chart Builder", OutlineBox, {Set Title( "Représentation graphique" )} ) )
)
)
);
coltstst1 << Link Platform( table1 );
coltstst1 << Link Platform( Cadreall1 );
coltstst1 << Link Platform( graph1 );
ncols1 = N Items( coltstst1 << get list );
...知道问题所在吗?
塞巴斯蒂安