Names Default To Here(1);
dt = Open("$DOWNLOADS/variable_spec_limits_sample.jmp");
gb = dt << Graph Builder(
Size(808, 557),
Show Control Panel(0),
Variables(
X(:Phase),
X(:SampleGroup, Position(1)),
Y(:Data),
Y(:LSL, Position(1)),
Y(:Target, Position(1)),
Y(:USL, Position(1))
),
Elements(
Points(X(1), X(2), Y(1), Legend(6)),
Box Plot(X(1), X(2), Y(1), Legend(7), Outliers(0), Width Proportion(0.1)),
Bar(X(1), Y(2), Y(3), Y(4), Legend(9), Bar Style("Float"))
),
SendToReport(
Dispatch(
{},
"Phase",
ScaleBox,
{Label Row(1, Lower Frame(1)), Label Row(
2,
{Lower Frame(1), Major Grid Line Color("Black"), Show Major Grid(1)}
)}
),
Dispatch(
{},
"Data",
ScaleBox,
{Min(3.08101), Max(4.54538984217895), Inc(0.2), Minor Ticks(1),
Label Row({Show Major Grid(1), Show Minor Grid(1)})}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
9,
Properties(
0,
{Line Color(3), Line Width(1)},
Item ID("Mean(LSL)", 1)
),
Properties(
1,
{Line Color(3), Line Style("Dotted"), Line Width(1)},
Item ID("Mean(Target)", 1)
),
Properties(
2,
{Line Color(3), Line Width(1)},
Item ID("Mean(USL)", 1)
)
)}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{DispatchSeg(
Box Plot Seg("Box Plot (Phase 1>>AF145)"),
{Fill Color("Black"), Fill(0)}
), DispatchSeg(
Box Plot Seg("Box Plot (Phase 1>>PT334)"),
{Fill Color("Black"), Fill(0)}
), DispatchSeg(
Box Plot Seg("Box Plot (Phase 2>>ZF010)"),
{Fill Color("Black"), Fill(0)}
), DispatchSeg(BarSeg(1), {Set Width Proportion(1)})}
)
)
);