Choose Language Hide Translation Bar
Highlighted
vince_faller
Super User

changing format of caption box in graph builder

I'm trying to make the caption box in graph builder change to a different decimal format without changing the column properties.  

 

 

Names Default to Here(1);
dt = Open("$SAMPLE_DATA\Big Class.jmp");
dt << Graph Builder(
	Size( 570, 496 ),
	Variables( Group X( :sex ), Group Y( :age ), Color( :height ) ),
	Elements(
		Heatmap( Legend( 12 ) ),
		Caption Box( Legend( 4 ), Summary Statistic( "Mean" ), Format("Fixed Dec", 12, 2) )
	),
	SendToReport( Dispatch( {}, "400", LegendBox, {Set Title( "" )} ) )
);

 

Can't seem to get it. Anyone had luck with this?

Vince Faller - Predictum
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: changing format of caption box in graph builder

The labels are part of the frame boxes within the Mosaic plot, and they can be retrieved (Get), changed and replaced(Set);  Look in the Scripting Index under TextSeg for examples of Get and Set.

Jim

View solution in original post

5 REPLIES 5
Highlighted
jb
jb
Level IV

Re: changing format of caption box in graph builder

Can you please notate which caption box?

 

image.png

vince_faller
Super User

Re: changing format of caption box in graph builder

All of them.  

 

10-3-2017 12-58-24 PM.png

 

Vince Faller - Predictum
Highlighted
txnelson
Super User

Re: changing format of caption box in graph builder

The labels are part of the frame boxes within the Mosaic plot, and they can be retrieved (Get), changed and replaced(Set);  Look in the Scripting Index under TextSeg for examples of Get and Set.

Jim

View solution in original post

Highlighted
vince_faller
Super User

Re: changing format of caption box in graph builder

Good to know.  Never used TextSeg.

That seems like more hastle (to find the actual means then appending them, making sure you get the right mean on the right framebox() than I think I'm willing to do vs the problem of changing the column properties.  

Still, would definitely work.  

Vince Faller - Predictum
Highlighted
jb
jb
Level IV

Re: changing format of caption box in graph builder

Ok, I understand the question now

 

Article Labels

    There are no labels assigned to this post.