- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: changing format of caption box in graph builder
Can you please notate which caption box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: changing format of caption box in graph builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: changing format of caption box in graph builder
Ok, I understand the question now