JMP 17.2 > Windows > GRAPH BUILDER > How do I maintain the size of the Y Label box when using Y-labels of different length?Dear JMP Community,
I thought I knew Graph Builder, but I encountered an annoying behavior with Y-labels of differing lengths.
In the example below, I use a Local Data Filter to plot different categories of data (RColor). Each category has a set of labels (plotted as Y-labels) that can vary in length from 8 characters to > 50. As shown in the two graphs below (identical script), the plot dimensions change according to the length of the Y-labels. Is there a way to lock the dimensions of the Y-axis box, or to wrap the long labels to a fixed length? Of note, the "Line Wrap" setting in AXIS SETTINGS does not seem to do too much in my case.


Thank you.
Best regards,
TS
Automation and ScriptingData Exploration and VisualizationWindowsRe: JMP 17.2 > Windows > GRAPH BUILDER > How do I maintain the size of the Y Label box when using Y-labels of different length?[In Jm18] Wrap lines has an effect :

Depending on the number of labels and the available space, JMP arranges the labels into fewer lines and may even skip part of a label:
If you try to adjust the size of the labels to get graphs with consistent size, you could skip the fist step and use Frame Size :
Names Default to Here(1);<BR />dt = Open( "$SAMPLE_DATA/Big Class.jmp" );<BR />Graph Builder(
Variables( X( :height ), Y( :name ) ),
Elements( Bar( X, Y ) )
);
:name[2] = "This is a very long name which has an influence on the size of the Framebox";
current report()[FrameBox(1)] << Frame Size ( 500, 500)
Re: JMP 17.2 > Windows > GRAPH BUILDER > How do I maintain the size of the Y Label box when using Y-labels of different length?Interesting:
the Size() option in Graph builder controls the green region (including the axis labels).
Via the Frame Size(), one can control the blue region:

And up to now there is no function in JMP to control the purple region:
https://community.jmp.com/t5/Discussions/Graph-builder-Frame-size-JSL/m-p/702694/highlight/true#M88706
if you need such a functionality, please vote here:
Functionality to generate Plots with specific Plot Size