Hi,
I'm making a graph builder script by manually plotting and saving the script in the data table. So far here is what I've got:
//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 )} )
)
)
Now the problem with this script is that setting the line width is dependent on the number of cell groups. Is there a way to set the line width setting in more elegant way (like the Fit Y by X function)?
Thanks,
Shaira