The wish is from August (2025):consistent marker control in Graph Builder
It seems that someone else had the same wish, because here it is [1st part]!
A new era of style control in Graph Builder / JMP19:
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Graph Builder(
Size( 590, 412 ),
Graph Spacing( 4 ),
Variables( X( :name ), Y( :weight ), Y( :height ), Color( :sex ) ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 1 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 2 ) ) ),
Column Switcher( :sex, {:age, :sex} ),
SendToReport(
Dispatch( {}, "400", ScaleBox,
{Legend Model(
1,
Type Properties( 0, "Marker", {Marker( "Circle" )} )
), Legend Model(
2,
Type Properties( 0, "Marker", {Marker( "FilledCircle" )} )
)}
))
);
In the Scripting Index, I could not find further documentation about the new feature:
https://jsl.jmp.com/search.html?q=Type+Properties
I guessit works along the idea: if all items of one plot type have the same setting, then this setting is saved via Type Properties() to the Legend Group.
Important: default settings (marker = dot, color=black, line style: solid) are not saved (!!) * )
*) further details about this behavior can be found in a previous post:
https://community.jmp.com/t5/Discussions/Do-you-use-the-preferences/m-p/913487/highlight/true#M10733...