你好,
我正在透過手動繪製腳本並將其保存在數據表中來製作圖形生成器腳本。 到目前為止,這是我所得到的:
//User declares Bottom_Var, Left_Var, Top_Var, Right_Var, and Legend_Var
//Legend_Var is the cell grouping whose number may vary
Graph Builder(
Size( 1173, 638 ),
Show Control Panel( 0 ),
Variables(
X( Bottom_Var ),
Y( Left_Var ),
Group X( Top_Var ),
Group Y( Right_Var),
Overlay( Legend_Var )
),
Elements( Points( X, Y, Legend( 20 ) ), Smoother( X, Y, Legend( 21 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", FrameBox, {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 2 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 3 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 4 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 5 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 6 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 7 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 8 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 9 ), {Line Width Scale( 3 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 10 ), {Line Width Scale( 3 )} )
)
)現在這個腳本的問題是設定線寬取決於單元格組的數量。 有沒有一種方法可以以更優雅的方式設定線寬設定(例如 Fit Y by X 功能)?
謝謝,
夏伊拉
能詳細說明一下問題是什麼嗎?隨著覆蓋變數中級別數的增加,平滑線是否變得太窄?