I have a script that plots Variability Chart by some group.
rep=Variability Chart(
Y( :Name( "MyY" ) ),
X(
:Name("MyX1"),
:Name( "MyX2" )
),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
By (:Name("ByGroup")));
Then I'm getting a plot for each ByGroup with two bars: "Variability Gauge ByGroup=group1" and "Variability Chart for MyY".
I found how to change the title of the second one to just "MyY". But I cannot find hot to change title of the first one to only reflect ByGroup.
I can refer it one by one, if I know all the ByGroups, explicitly, but I don't want to hardcode all the ByGroups.
I was hoping for something like wildcarding and replacing title like this:
SendToReport(
Dispatch(
{},
"Variability Gauge ByGroup=?",
OutlineBox,
{Set Title( :Name("ByGroup") )}
),
But it's not working. Any ideas how to make it work?