When using GraphBuider (GB), either from the user interface (UI) or using JSL (scripting), order matters.
- Open Big Class.jmp
- Start GraphBuilder
- Drag height to the Y axis and age to the Group X area
- Right click on any frame and select Points > Change To > Histograms
- Right click again, select Add > Points
Now Points are last specified GB element and are on top. If you save the script, note the elements order
Graph Builder(
Size( 528, 454 ),
Show Control Panel( 0 ),
Variables( Y( :height ), Group X( :age ) ),
Elements( Histogram( Y, Legend( 4 ) ), Points( Y, Legend( 5 ) ) )
)
Changing order for all Frame Box would be a nice future option, but until then, keep the elements order in mind when using GB.