Hi Jarmo, thanks for the suggestion. However, I contacted JMP support (as you suggested) and they had a better solution. The following is their reply, which works for me.
-------------------------------
This appears to be a bug in JMP related to using the Journal and using a Wrap variable in Graph Builder. You can change the stretch property for the Label Box in the Journal to have it extend to the full width of the graph instead of being stopped at the right edge of the first graph panel. Here are the instructions to change the stretching manually:
- Journal the Graph Builder window
- In the Journal, choose Edit -> Properties from the menu.
- Click on one of the page titles to highlight the display box and show the properties on the right side of the window.
- Click the disclosure triangle next to the Stretching outline box
- Change the value in the dropdown box for the X Stretch property to Window.
- Repeat steps 3-5 for the other page label boxes.
I am not sure if you are scripting this, but if so, here is a modified version of your script to make the journal show the entire label. The modification was to assign a variable to reference the platform then add 4 statements at the end.
gb = Graph Builder(
Size(606, 532),
Show Control Panel(0),
Variables(
X(:Time),
Y(:Data),
Page(:Dispense Strategy),
Wrap(:Group, Levels per Row(3)),
Overlay(:Channel),
Color(:Test)
),
Elements(Line(X, Y, Legend(8))),
SendToReport(
Dispatch(
{},
"Data",
ScaleBox(2),
{Min(-1), Max(12), Inc(2), Minor Ticks(0)}
),
Dispatch(
{},
"Data",
ScaleBox(3),
{Min(-1), Max(12), Inc(2), Minor Ticks(0)}
)
)
);
// Send the graph to the journal
gb << Journal;
// get a reference to the journal
journ = Current Journal();
// use XPath to get all the label boxes with the axis title as part of the label
boxes = journ << XPath("//LabelBox[contains(., 'Dispense Strategy')]");
// change the X Stretch property for all the boxes at once
boxes << Set Stretch("Window", "Neutral");