You can interactively add a graphics script to Control Chart Builder to draw the spec limits. To see an example run the code below.
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Control Chart Builder(
Show Control Panel( 0 ),
Show Limit Summaries( 0 ),
Show Capability( 0 ),
Variables( Y( :height ), Phase( :sex ) ),
Chart(
Position( 1 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) ),
Add Spec Limits( {LSL( 55 ), USL( 65 )} )
),
Chart(
Position( 2 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) )
),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
FrameBox( 2 ),
{Add Graphics Script(
2,
Description( "Spec Limits" ),
Pen Color( "Red" );
Line Style( "Dashed" );
// Spec limits for Females
H Line( 0, 18, 55 );
H Line( 0, 18, 65 );
// Spec limits for Males
H Line( 19, 40, 57 );
H Line( 19, 40, 70 );
), Grid Line Order( 1 ), Reference Line Order( 3 )}
)
)
);
which gives:
With a little work, you could do this programmatically if you have many cases.