How do I wrap in multiple lines the label of a Group X variable in Graph Builder?Hi,
I'm doing a very simple graph in graph builder. I have very long name for the sample (used as group X variable).
How can I wrap in multiple lines the labels? I would like to avoid to have half graph which are labels!!
Thanks
GraphicsRe: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?Welcome to the Community!
There are many ways to perform this:
- One is to make a Calculation (Transform) on that column in the Graph Builder (in your case you may need character function word to get a part of your column content, my formula was subtr(name, 1,1), that gives the first character, Based on data table "Big Class.jmp" from the Help-Sample Data menu
- another would be to generate a new Column by "Recode" (right click on Column name ...)
see also documentation that you can find under Help, or press ? and click on a part of the platform



Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?Thanks a lot for your answer!
Actually I would not change the labels, but only display them in two lines in the graph as in the example below (I did it in power point because I cannot do it in JMP).
Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?FWIW, when dropping a variable into the 'Group X' zone, I found that (JMP 16.2 on a Mac) Graph Builder did a reasonable job in breaking up the labels. And, if that's not to your taste, you can just drag to make changes to the widths:

