Parlare con i display boxLo script generato automaticamente per generare questo grafico

È
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" )} ) )
)
- Perché "titolo X"?
- Qual è un modo robusto per parlare in seguito con il titolo dell'asse X.
current Report()[TextEditBox(3)]
sembra funzionare - ma c'è qualcosa con "asse X" incluso nel comando?
Automazione e scriptingRi: Parlare con i display boxNon sono sicuro che ci siano modi "diretti" per accedere a quel titolo dell'asse, ma puoi usare Dispatch (che per quanto ne so dovrebbe essere evitato ...)
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)}
);Ri: Parlare con i display boxsi esatto, queste 2 considerazioni mi hanno portato a scrivere la domanda.