cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Remove Caption Legend

The legend of the caption box is partially redundant in combination with the legend on the right.
In addition, it collides with the numeric entries.
Is there a setting to hide the legend of the caption?

hogi_0-1767989517866.png

 

dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
gb = Graph Builder(
	Graph Spacing( 4 ),
	Variables( X( :age ), Y( :height ), Overlay( :sex ) ),
	Elements(
		Box Plot( X, Y, Legend( 4 ) ),
		Caption Box( X, Y, Legend( 5 ), Summary Statistic( "Mean" ), Location( "Graph per factor" ) )
	)
);
1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Remove Caption Legend

workaround via JSL:

segs = Report( gb )[FrameBox( 1 )] << find segs( "Text Seg" );
segs[1] << set text( "" ); // the caption box legend
gb << set dirty;

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Remove Caption Legend

workaround via JSL:

segs = Report( gb )[FrameBox( 1 )] << find segs( "Text Seg" );
segs[1] << set text( "" ); // the caption box legend
gb << set dirty;
hogi
Level XIII

Re: Remove Caption Legend

Hm, no real solutions?
Then I will mark the workaround as a "solution".

Recommended Articles