Hello,
The command below works in JMP 17, and allows me to retrieve the label of a legend. But since JMP 18 it no longer works, and I get an error message instead.
Does anyone know how to fix this?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
Variables(
X( :height ),
Y( :weight ),
Overlay( :sex ),
Color( :age )
),
Elements(
Points( X, Y, Legend( 1 ) ),
Smoother( X, Y, Legend( 2 ) )
)
);
lgnd = gb << Get Legend Server;
item = (lgnd << Get Legend Items)[1];
show(item[1] << get label());
item[1] << Set Properties( {Transparency( 1 )} );