cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
JMewborn
Level II

Col List Box not pulling results when in the same window as a Pareto Plot

I am trying to have a Col List Box to select specifications of a product. When running by itself, the Col List Box works fine, however when I try to add a pareto plot to the same window as a reference for which parts I should or should not pick from the Col List Box, it no longer sends the data selected. I tried with an H List Box as well for the pareto and a separate button to force the desired result but it still had issues. Any help would be greatly appreciated. 

GraphingTable = Open( "Vinyl Data.jmp");

//Select the Specs you want to compare by using a COL LIST BOX
ListNumericCols = GraphingTable << Get Column Names(numeric);	
show (ListNumericCols);

	

	SelectCpkSpecs = New Window("Select Specs for analysis", << Modal, << return result,
	Graphing Table << Pareto Plot( Cause( :"Pass/Fail"n ) );
	CpkSpecs = Col List Box (<< Set Items (ListNumericCols))
	);
	CpkSpecNames = SelectCpkSpecs["CpkSpecs"];
	
show (CpkSpecNames);
Josh
1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: Col List Box not pulling results when in the same window as a Pareto Plot

Note sure exactly what's going on with your code but here is an alternative representation:

 

GraphingTable = Open( "Vinyl Data.jmp");

//Select the Specs you want to compare by using a COL LIST BOX
ListNumericCols = GraphingTable << Get Column Names(numeric);	
show (ListNumericCols);

	

	nw = New Window("Select Specs for analysis", << Modal, 
		<<onClose(
			CpkSpecNames = CpkSpecs << get selected
		),
		Graphing Table << Pareto Plot( Cause( :"Pass/Fail"n ) ),
		CpkSpecs = Col List Box (<< Set Items (ListNumericCols))
	);

	
show (CpkSpecNames);

 

-Dave

View solution in original post

2 REPLIES 2
David_Burnham
Super User (Alumni)

Re: Col List Box not pulling results when in the same window as a Pareto Plot

Note sure exactly what's going on with your code but here is an alternative representation:

 

GraphingTable = Open( "Vinyl Data.jmp");

//Select the Specs you want to compare by using a COL LIST BOX
ListNumericCols = GraphingTable << Get Column Names(numeric);	
show (ListNumericCols);

	

	nw = New Window("Select Specs for analysis", << Modal, 
		<<onClose(
			CpkSpecNames = CpkSpecs << get selected
		),
		Graphing Table << Pareto Plot( Cause( :"Pass/Fail"n ) ),
		CpkSpecs = Col List Box (<< Set Items (ListNumericCols))
	);

	
show (CpkSpecNames);

 

-Dave
David_Burnham
Super User (Alumni)

Re: Col List Box not pulling results when in the same window as a Pareto Plot

I see the problem with your code now : you have a semicolon instead of a comma on the pareto plot line.

-Dave

Recommended Articles