cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Legend on control chart with JMP 16

VéroniqueB
Level I

Hello everyone,

@eromeu @flo_kussener

How to display on the control chart the legend on JMP 16?

I managed to do it on JMP 15 but it is no longer possible on JMP 16. It is still possible to put a color or a shape via "color or mark by column" but not possible to display the legend as before.

 

undefined

Thank you very much for your help and my best wishes for this year 2022

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

1 REPLY 1

Re: Légende sur control chart avec JMP 16

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