我正在使用列切換器來更改圖表,但我希望它遍歷每個“切換器”,並將每個“切換器”列印到 PowerPoint 投影片上。 JMP18 可以實現嗎?
Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Hollywood Movies.jmp" );
gb = dt << Graph Builder(
Size( 686, 572 ),
Variables( X( :Genre ), Y( :Opening Wknd Gross ) ),
Show Control Panel( 0 ),
Elements(
Bar(
X,
Y,
Legend( 7 ),
Bar Style( "Side by side" ),
Summary Statistic( "Mean" )
)
)
);
cs = gb << Column Switcher(
Opening Wknd Gross,
{Rotten Tomatoes Score, Audience Score, Domestic Gross, Foreign Gross,
World Gross, Production Budget, Profitability, Opening Wknd Gross},
Close Outline( 1 )
);
pptx_loc = "$DOCUMENTS/powerpoint_test.pptx";
gb << Save Presentation( pptx_loc );
For Each( {v, i}, Remove( cs << Get List, 1 ), cs << Next; gb << Save Presentation( pptx_loc, Append ) )
非常感謝,這個程式運作得完美,我是這個程式的新手,但是這個程式很容易遵循。
有沒有辦法使用標準化的 PowerPoint 格式來建立此報告?還可以從左下角刪除「Graph Builder」字樣嗎?