Hi, I'm a JMP 10 user. I can't figure out why my XBar charts are not calculating or displaying the UCL's and LCL's correctly. Here's my script and a snip-it of what the charts look like. I'm not sure if something strange is going on with my data set or my script. Thanks.
Control Chart(
SendToByGroup( {:Category == "A"} ),
Sample Label( :Name( "Date" ) ),
KSigma( 3 ),
Chart Col( :Process, XBar, R ),
By( :Category ),
SendToByGroup(
{:Category == "A"},
SendToReport(
Dispatch(
{"Variables Control Chart Category=A", "XBar of Process"},
"2",
ScaleBox,
{Min( 9.79 ), Max( 10.21 ), Inc( 0.05 ), Minor Ticks( 0 ),
Add Ref Line( 9.9, Solid, "Dark Blue", "Lower Spec" ),
Add Ref Line( 10.1, Solid, "Dark Blue", "Upper Spec" ),
Rotated Labels( "Horizontal" )}
)
)
),
SendToByGroup(
{:Category == "B"},
SendToReport(
Dispatch(
{"Variables Control Chart Category=B", "XBar of Process"},
"2",
ScaleBox,
{Min( 9.65 ), Max( 10.25 ), Inc( 0.1 ), Minor Ticks( 0 ),
Add Ref Line( 9.9, Solid, "Dark Blue", "Lower Spec" ),
Add Ref Line( 10.1, Solid, "Dark Blue", "Upper Spec" ),
Rotated Labels( "Horizontal" )}
)
)
),
SendToByGroup(
{:Category == "C"},
SendToReport(
Dispatch(
{"Variables Control Chart Category=C", "XBar of Process"},
"2",
ScaleBox,
{Min( 9.945 ), Max( 10.055 ), Inc( 0.01 ), Minor Ticks( 0 ),
Add Ref Line( 9.97, Solid, "Dark Blue", "Lower Spec" ),
Add Ref Line( 10.03, Solid, "Dark Blue", "Upper Spec" ),
Rotated Labels( "Horizontal" )}
)
)
)
);