cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ben
ben
Level I

how do I add a reference lines to each control chart

In my script I am trying to add a reference line to each control chart. "Graph_line" is a list of values that I want to use as the reference lines. There are 63 items in Graph_lines which corresponds to the 63 different UNIT_MODELs that I am charting. I tried to use a for loop and I realize that this is somewhat primitive but my overall understanding of jmp right now is still low. Pleas help! Thanks

 

 

Control Chart(
	Group Size( 1 ),
	KSigma( 3 ),
	Chart Col( :Name( "Sum(BIN_COUNT, 1)" ), Individual Measurement ),
	by( :UNIT_MODEL),
	For(i = 1, i <= n items(Graph_line), i++,
	ref = Graph_line[i];
	SendToReport(
		Dispatch(
			{"Individual Measurement of Sum(BIN_COUNT, 1)"},
			"2",
			ScaleBox,
			{Add Ref Line( ref, "Solid", "Dark Blue", "", 2 )}
				)		
				)
				)
	);
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how do I add a reference lines to each control chart

Apparently you and @bharathu

     How to add a reference line........

have the same homework assignment:-)

@ian_jmp gave a very good response to the question

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: how do I add a reference lines to each control chart

Apparently you and @bharathu

     How to add a reference line........

have the same homework assignment:-)

@ian_jmp gave a very good response to the question

Jim