Referring to Outline Box name dynamically<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hello all, I am writing scripts to generate control charts for each column in a table and moreover change chart titles using a For loop. In order to change the OutlineBox title I need to first know the name of the outlinebox and that's where I am stuck. How can I dynamically change the bolded text below ("XBar of Delay"). I tried OutlineBoxName = "XBar of" || varCustomName where I set the varCustomName but I get an error Outlinebox not found.
Any help much appreciated.
Control Chart(
Sample Size( :Day ),
KSigma( 3 ),
Chart Col( :Delay, XBar, R ),
SendToReport(
Dispatch(
{},
"XBar of Delay",
OutlineBox,
Set Title( "XBar of Delay test" )
)
)
)
Re: Referring to Outline Box name dynamicallyFigured this one...
param = "XBar of Delay";
Show( param );
cChart =
Control Chart(
Sample Size( :Day ),
KSigma( 3 ),
Chart Col( :Delay, XBar, R )
);
report(cChart)[Outlinebox( param )] << set title( "test" );