Graph builder - Graph squished when running script
May 1, 2019 5:47 PM
| Last Modified: May 2, 2019 7:37 AM(892 views)
I am having a strange issue. I created a plot using graph builder and it worked fine when I created the plot intially, however when I try to execute the jsl after creating the graph the graph data become squished in the top of the window. If I click around enough I can can grab the corner of the frame of the graph and expand its size. I set the size of the plot and set the Fit the Window settings so that the graph should not be compressed. I attached images to show what the plot should look like and how it shows up when I run the script.
When I run the script:
How the graph is supposed to look
Here are the sizing settings I am using in the jsl.
Size( 1100, 500 ),
Show Control Panel( 0 ),
Fit to Window( "Off" ),
I am not really sure what would cause the graph to do this.
I don't see any immediate issues and I can't replicate the problem. What version of JMP are you using? Can you scrub your data of anything sensitive and upload the data and the GB script so we can reproduce the issue and look for fixes?
When I ran this plot with a dataset that only had one part number the plot worked fine however on a dataset with multiple part numbers the graph was squished because the size does not indicate the size of the each individual page but all of the pages together. I just had to increase the height of the graph to accomodate multiple pages. If I really wanted to optimize I could make the height of the graph builder a function of the number of part numbers within the data set (Size(1100,#ofPN*500)). Thanks for the help.
Is the Graph Builder report by itself in a window, or is it combined with other GUI elements/platforms? Are you submitting the script through the JMP 14 Projects interface or through the multi-window JMP interface?