Ciao
Avere un lavoro pianificato con uno script JSL connesso che traccia un grafico bivariato per un valore (asse y) con il tempo (asse X).
Voglio aggiungere un'interfaccia utente (come un menu a discesa) per questo rapporto, che potrebbe aiutare l'utente a scegliere il "Prodotto" e la trama si aggiornerebbe per mostrare l'unico prodotto scelto.
In questo modo, il rapporto rimarrebbe breve e di facile comprensione. L'utente può scorrere facilmente tra i diversi prodotti.
Ho provato a usare "Column Switcher" ma non ha funzionato, immagino di non averlo capito completamente.
Lo script è allegato di seguito:
dt = Current Data Table(); // Assuming the data table is open
dt << New Column("group",Character,Nominal,
Formula (If( :"SITE@NTSC@Process-1@ETCHER@163096" == "D1D", "D1D",
If(Left( :"CHAMBER@NTSC@Process-1@ETCHER@163096", 3 ) == "GTX", :"CHAMBER@NTSC@Process-1@ETCHER@163096"))
));
prods = uniqueValueList = (:"PRODUCT@STARTS");
Show(prods);
New Window( "DEPOP FRAC - Bivariate",
V List Box(
Bivariate(
Y(:Name(
"SPCRAW@WAFER@MEAN@ONTFE.HM_FRAC_LOT_2PT_DYN.74.DER@ML=2PT_DYN_A;PP=2PT_MEAN@188426"
)
),
X(:Name( "END_TIME@CHAMBER@NTSC@Process-1@ETCHER@163096" ) ),
By( :Name( "PRODUCT@STARTS" ) ),
GroupBy( :group ),
Fit Spline( 0.1, Standardized, {Line Width( 2 )} ),
UnGroup;
Fit Where(:group == "D1D",
Fit Spline(0.1,Standardized,{Line Color( "Black" ), Line Width( 4 )}));
Column Switcher(:"PRODUCT@STARTS", { :prods});
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Frame Size( 493, 277 ),
Row Legend(
chamber,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
),
)
))
);
Un filtro dati funzionerebbe?
Names default to here(1);
// Open Data Table: big class.jmp
dt=Open( "$SAMPLE_DATA/big class.jmp" );
<BR />//bivariate fit and add a local data filter
<BR />Biv= dt<<BIVARIATE></BIVARIATE>
I tuoi diversi prodotti sono nelle righe a destra. Apri un filtro di dati locali nella colonna del tuo gruppo per consentire agli utenti di guardare solo determinati prodotti.
FWIW, questo mostra come usare 'Column Switcher' (se è quello che ti serve):
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
// Get a list of the parameters that could play the 'Y' role
cols = dt << getColumnNames("String");
RemoveFrom(cols, 1, 4);
// Build a report with the column switcher
ow = dt << Oneway(Y(cols[1]), X(:SITE), Column Switcher(cols[1], cols));