JMP 9.0.3
Windows 7 Enterprise SP1
I am trying to edit some 'control chart' display parameters using 'Dispatch'. It seems like the only way I can get the command to work is if I use the string for the chart title directly. I need to be able to pass that name into the Dispatch command somehow. Here's my 'not working' script:
xbarname = eval("XBar of "||Testname);
Control Chart(
Sample Label( :Sample ),
Chart Col( :Testcolumn,
XBar(
Box Plots( 1 ),
Connect Points( 0 ),
),
),
SendToReport(
Dispatch(
{xbarname},
"2",
ScaleBox,
{Min(1), Max( 1.5 ), Inc( 0.05 ),
Minor Ticks( 1 )}
),
)
);