你好,
我有一個帶有儀表板的應用程序,顯示表參數的分佈(和其他圖表)。
在此應用程式中,使用者可以互動地設定限制,以顯示在圖表上。為此,我使用了列的“軸”屬性。雖然此屬性的變更會自動反映在圖形產生器圖形上,但在分發平台上似乎並非如此。
這是為什麼呢?我怎樣才能使其在分發平台上也具有互動性?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Restaurant Tips.jmp" );
:Day of Week << set property( "Row Order Levels", 1 );
dt_split = dt << Split( Split By( :Day of Week ), Split( :Bill Amount ), Sort by Column Property, remaining columns( drop all ) );
dt_split << Distribution(
Continuous Distribution( Column( :Thu ) )
);
dt_split << Graph Builder(
Size( 495, 456 ),
Show Control Panel( 0 ),
Variables( X( :Thu ) ),
Elements( Points( X, Legend( 12 ) ) )
);
wait(2);
dt_split:Thu << Set Property(
"Axis",
{Add Ref Line( 31.94, "Solid", "Red", "Limite1", 1 )}
);
為分佈添加自動重新計算
dt_split << Distribution(
Continuous Distribution( Column( :Thu )), Automatic Recalc( 1 )
);
幾乎所有平台都具有自動重新計算功能。並非所有平台都將「自動重新計算」設定為預設值。