Differences in Control Chart Builder Syntax and Chart Display Across JMP Versions I found that different versions of JMP display different charts when running the following script.
It seems that the syntax of the Control Chart Builder has changed, but I don't know how to fix it.
What I need is for version 18.0.1 to automatically average the prices for the same month, rather than, like the new version, simply outputting all the numbers.
dt= current datatable();
WinterChart = dt << Control Chart Builder(
Show Sigma Report( 1 ),
Variables( Y( :Price ), Subgroup( :Month ) ),
Chart( Position( 1 ), Limits( Sigma( "Levey Jennings" ) ) ),
Chart( Position( 2 ), Limits( Sigma( "Levey Jennings" ) ) ),
Show Control Panel( 0 ),
Where( :Type == "Winter" ),
SendToReport( Dispatch( {}, "Control Chart Builder", OutlineBox, {Set Title( "Winter" )} ) )
);
Bright background figure is the result from version 18.0.1
Dark background figure is result from version 19.0.1
Automation and ScriptingRe: Differences in Control Chart Builder Syntax and Chart Display Across JMP VersionsFor these to be same for both version, you have to enable Sort By Subgroup in JMP19
Sort by Subgroup(1)
If you wish to have similar result in JMP18, create new column (or use transform column) with formula Row() and use that as your x-axis
JMP19 with Sort by Subgroup(1) (similar as your old.png)

JMP18 with Row (similar as your shot.png but much better (in my opinion) x-axis)

Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP VersionsIf I append "WinterChart<< Sort by Subgroup( 1 );" below, it does make the subgroup display correctly.
However, the original program has the setting "Chart( Position( 1 ), Limits( Sigma( "Levey Jennings" ) ) )," which allows the limits to be calculated using 3 sigma.
But with the result of Sort by Subgroup( 1 ), the chart still shows as an R Chart.
How should I adjust it so that when "Sort by Subgroup( 1 )" is applied, it can still display the sigma limits based on "Levey Jennings"?
Re: Differences in Control Chart Builder Syntax and Chart Display Across JMP VersionsChange it from Limits settings?
