Bonjour à tous,
Comment afficher sur la control chart la légende sur JMP 16?
Je parvenais à le faire sur JMP 15 mais cela n'est plus possible sur JMP 16. Il est toujours possible de mettre une couleur ou une forme via "color or mark by column" mais pas possible d'afficher la légende comme avant.
Merci infiniment pour votre aide et mes meilleurs vœux pour cette année 2022 :)
Hi Veronique!
I wish you an Happy New Year!
Regarding your question, you can use the legend box as described in this workaround : Solved: add Row Legend to Control Chart Builder output? - JMP User Community
The following JSL should give what you expect:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
// Create the color pattern and legend window
TheLegend = dt << color or mark by column( :Lot_id, make window with legend );
// Create the window with the V List Box in it
NW = New Window( "legend example", myVLB = H List Box( Control Chart Builder(
Size( 716, 456 ),
Show Control Panel( 0 ),
Variables( Y( :NPN1 ) ),
Chart( Position( 1 ) ),
SendToReport(
Dispatch( {}, "NPN1 Limit Summaries", OutlineBox, {Close( 1 )} ),
Dispatch(
{"NPN1 Limit Summaries", "Process Capability Analysis", "Histogram"},
"Process Capability Analysis Histogram",
FrameBox,
{Frame Size( 320, 21 )}
)
)
)));
// Append the legend window to the VLB
myVLB << append( TheLegend );
Hope it will be helpful!
Florence