cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
VT1
VT1
Level I

Column Switcher in JMP17 Resetting Graph

Hi All,

 

I have a script working perfectly on JMP16 which, among other things, plots a Variability Chart with Specific Dimensions and, most importantly, with a Row Legend.

I tried the same script in JMP17 and I encountered a problem that I cannot solve even manually.

 

The Var Chart is plotted correctly including the Column Switcher.

However, when another Y-variable is selected in the Column Switcher, the whole Var Chart is reset to pre-set Dimensions and loses the Row Legend.

 

This is an example of a manually built (no JSL) var chart from a very simple dataset.

VT1_0-1701265731802.png

If I select, "Test 2: Results", the following happens.

VT1_1-1701265768806.png

 

Has anyone encountered the same issue?

Is there a known solution?

 

Thanks in advance to any reply and have a nice day.

2 REPLIES 2
jthi
Super User

Re: Column Switcher in JMP17 Resetting Graph

Is your situation similar as this ?

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp");
dt << New Column("Meas2", Numeric, Continuous, <<Set Each Value(Random Normal(0, 1)));

var = dt << Variability Chart(
	Y(:Measurement),
	X(:Operator, :part#),
	Always use column properties(1),
	Column Switcher(:Measurement, {:Measurement, :Meas2}),
	SendToReport(
		Dispatch(
			{"Variability Gauge Analysis for Measurement", "Variability Chart for Measurement"},
			"Variability Chart",
			FrameBox,
			{Frame Size(514, 240), Row Legend(
				Operator,
				Color(1),
				Color Theme("Universal"(1)),
				Marker(0),
				Marker Theme(""),
				Continuous Scale(0),
				Reverse Scale(0),
				Excluded Rows(0)
			)}
		),
		Dispatch(
			{"Variability Gauge Analysis for Measurement", "Variability Chart for Measurement"},
			"Variability Chart",
			FrameBox(2),
			{Frame Size(514, 240)}
		)
	)
);

jthi_0-1701195611661.png

jthi_1-1701195618936.png

It does report that there is a problem

Cannot find item "Variability Gauge Analysis for Measurement" in outline context {"Variability Gauge Analysis for Measurement", "Variability Chart for Meas2"}
-Jarmo
VT1
VT1
Level I

Re: Column Switcher in JMP17 Resetting Graph

Hi,

 

Thank you very much for your reply!

 

Yes, it seems the same issue. Apologies for not attaching an example yesterday.

 

This is an example of a manually built (no JSL) var chart from a very simple dataset.

VT1_0-1701252437175.png

If I select, "Test 2: Results", the following happens.

VT1_1-1701252531454.png

 

Is there a way to fix this?