交互式图形框故障大家好,希望你能帮助我解决以下问题。我正在尝试创建一个图表框图,但是我希望从交互式窗口中显示数据,到目前为止我只能通过创建一个表来执行它,然后从表中获取要在图中显示的值。
查看我创建的脚本:
// Script starts here:
// I created this table "Measurements" in order to create the data with data to be displayed in the chart.
Meas = New Table( "Measurements",invisible, Add Rows( 1 ),
New Column( "AVG", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [3] ) ),
New Column( "STDEV", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [1] ) ));
// This interactive window is in order to input the values to be displayed in the chart instead of taking them from the table "measurements".
New Window( "SCRIPT REQUIREMENTS",
<<MODAL></MODAL>
回复:交互式图形框故障非常感谢Jim,非常感谢您的帮助。
我一直在阅读JSL脚本指南,但我并没有完全理解正确使用Throw()的方法。
我会继续读它并练习。
再一次谢谢你
回复:交互式图形框故障请参阅下面的脚本,了解捕获取消的正确方法。 我强烈建议您在深入了解JSL之前先阅读JSL脚本指南。 您获得的知识将使您的冒险更轻松,更有趣。
帮助==>图书==>脚本指南
Names Default To Here( 1 );
// This interactive window is in order to input the values to be displayed in the chart instead of taking them from the table "measurements".
nw = New Window( "SCRIPT REQUIREMENTS",
<<MODAL></MODAL>
回复:交互式图形框故障谢谢吉姆,这正是我想要的。我还有一个问题:
如果用户从交互式窗口中选择取消,我注意到仍然创建了图表,如果选择取消,取消创建图表的方法是正确的?
先感谢您。
回复:交互式图形框故障这是处理它的一种方法
Names Default To Here( 1 );
// This interactive window is in order to input the values to be displayed in the chart instead of taking them from the table "measurements".
New Window( "SCRIPT REQUIREMENTS",
<<MODAL></MODAL>