Hi,
do you know how to get the GraphBuilderGroupBox "name" from the JSL scripting level? In attached picture it would be "Male" or "Female" (marked in red circles). My guess is to have a similar command to << xpath( "//GraphBuilderGroupBox" )) << Get Window Title. However it doesn't work.
Here is the code:
dt = Open( "$SAMPLE_DATA/Academic Achievement.jmp" );
win = dt << Graph Builder(
Size( 570, 475 ),
Variables( X( :Year4 ), Y( :Year2 ), Group X( :Female ) ),
Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) )
);
GroupBoxName = (win << xpath( "//GraphBuilderGroupBox" )) << Get Window Title; //<<Class Name
Show( GroupBoxName );
I need it in my extended code, where I paste FrameBoxes from different tables on one GB. Frameboxes keep "correct" location as long as I do not use Local Data Filter, otherwise plotted data is messed up. I use JMP 16.1.
Thanks for your advices!
Regards,
Li
