Talking to Display boxesThe auto-generated script to generate this plot

is
Graph Builder(
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
SendToReport( Dispatch( {}, "X title", TextEditBox, {Set Text( "xxx" )} ) )
)
- Why "X title"?
- What is a robust way to talk later with the X axis title.
current Report()[TextEditBox(3)]
seems to work - but is there something with "X axis" included in the command?
Automation and ScriptingRe: Talking to Display boxesNot sure if there are any "direct" ways of accessing that axis title, but you can use Dispatch (which to my knowledge should be avoided...)
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Size(520, 176),
Show Control Panel(0),
Variables(X(:height), Y(:weight), Overlay(:sex)),
Elements(Points(X, Y, Legend(13)), Smoother(X, Y, Legend(14)))
);
Report(gb) << Dispatch(
{},
"X title",
TextEditBox,
{Text Color("Red"), Set Base Font("Heading"), Font Color(3)}
);Re: Talking to Display boxesyes, right, these 2 considerations have led me to write the question.