Hi,
I explore all the question and answer inside this community and still not getting my answer to use this script. Can you help me, please?
I have data table with all the parameter (column) and data (row). My question is how to use Radio Box with the set function {self} to display all the data that i chosen one parameter on Radio Box to see at Bivariate (Fit Y by X).
I don't want to click OK to see the output on Bivariate, just click parameter on radio box.
I attach with example data table below,
Here my full script but still my radio box won't function using set function {self}
//Get the current data Table
Names Default To Here( 1 );
dt = Current Data Table();
// Get the all column names from the data table
columnNames = dt << Get Column Names("String");
cl = New Window("Column Selection", <<Modal,
Panel Box("Make a selection",
allcolumn = RadioBox(columnNames,
<<Set Function(
Function({self},
match(self << Get Selected,
allcolumn, columnNames << Set //i don't know on how to set funtion {self} to all parameter
)
)
)
)
)
);
// If cancel or X was clicked, stop the script
If( cl == {Button( -1 )}, Stop() );
Bivariate(
Y( :Y ),
X( :X ),
By( :WAFER_ID, :SITE_NO ) );
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
allcolumn, //this one is referring to the radio box parameter for what i choosing
Color( 1 ),
Color Theme( "Spectral"(1) ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
);