Wow ~~~
That's what I'm looking for!!
Thank you so much Jim! : )
===============================================================
dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); // data table
nw = New Window( "the output",
H List Box(
Graph Builder(
Size( 563, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
where( :age == 12 ), // <- I want to rotate this text in the graph window.
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
), // end of graph (age=12)
Graph Builder(
Size( 563, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
where( :age == 13 ), // <- I want to rotate this text in the graph window.
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
), // end of graph (age=13)
), // end of H list box
H List Box(
Graph Builder(
Size( 563, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
where( :age == 14 ), // <- I want to rotate this text in the graph window.
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
), // end of graph (age=14)
Graph Builder(
Size( 563, 452 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
where( :age == 15 ), // <- I want to rotate this text in the graph window.
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
), // end of graph (age=15)
), // end of H list box
// ) // end of outline box
); // end of new window
/*Check text box numbers by clicking "show tree structure" from the graph window*/
nw[Text Box( 1 )] << rotate text( left ); // rotate text
//nw[Text Box( 1 )] << hide (1); // hide text
nw[Text Box( 5 )] << rotate text( left ); // rotate text
//nw[Text Box( 5 )] << hide (1); // hide text
nw[Text Box( 9 )] << rotate text( left ); // rotate text
//nw[Text Box( 9 )] << hide (1); // hide text
nw[Text Box( 13 )] << rotate text( left ); // rotate text
//nw[Outline Box( 1 )][Text Box( 13 )] << hide (1); // hide text
I found a "text box number"
from the "show tree structure" button on the window as well.