交互式圖形框的問題大家好,希望您能幫我解決以下問題。 我正在嘗試創建一個圖表箱形圖,但我希望顯示從交互式窗口獲取的數據,到目前為止,我只能通過創建一個表格來實現,然後從表格中獲取值以顯示在圖表中。
查看我創建的腳本:
// 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>
回复:交互式圖形框的問題非常感謝吉姆,非常感謝您的幫助。
我一直在閱讀 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>