1) Whenever I run the script, the row legend only appears IL_ALL and can't be changed even if I click on the radio box.
2) I want the radio box parameter to change the row legend on Distribution but I don't know how to create that script.
Please help me to rewrite my script. I am still a newbie on this JSL scripting.
//Get the current data Table
Names Default To Here( 1 );
dt = Current Data Table();
columnNames = dt << Get Column Names( "String" );
cl = New Window( "Column Selection",
// <<modal, // optional, probably not what you want
H List Box(
Panel Box( "Make a selection",
allcolumn = Radio Box(
columnNames,
<<Set Function( Function( {self}, col = self << get selected ) )
)
)
)
);
Distribution(
Stack( 1 ),
Arrange in Rows( 2 ),
Continuous Distribution(
Column(:IL_ALL_MAG_C1_S21),
Horizontal Layout( 1 ),
Vertical( 0 ),
Normal Quantile Plot( 1 )
),
SendToReport(
Dispatch(
{"IL_ALL_MAG_C1_S21"},
"",
Border Box( 3 ),
{Set Summary Behavior( "Collapse" )}
),
Dispatch(
{"IL_ALL_MAG_C1_S21"},
"Distrib Quantile Plot",
FrameBox,
{Row Legend(
Eval (col),
Color( 1 ),
Color Theme( "Spectral"(1) ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
),
Dispatch( col, "", TextBox, {Rotate Text( "Left" )} )
)
);
Bivariate( Y( :Y ), X( :X ), By( :WAFER_ID, :SITE_NO ) );Here below I attach example data table: