<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I wrap in multiple lines the label of a Group X variable in Graph Builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466950#M71075</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm doing a very simple graph in graph builder. I have very long name for the sample (used as group X variable).&amp;nbsp;&lt;BR /&gt;How can I&amp;nbsp; wrap in multiple lines the labels? I would like to avoid to have half graph which are labels!!&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:22:19 GMT</pubDate>
    <dc:creator>RandomFed</dc:creator>
    <dc:date>2023-06-11T11:22:19Z</dc:date>
    <item>
      <title>How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466950#M71075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm doing a very simple graph in graph builder. I have very long name for the sample (used as group X variable).&amp;nbsp;&lt;BR /&gt;How can I&amp;nbsp; wrap in multiple lines the labels? I would like to avoid to have half graph which are labels!!&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:22:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466950#M71075</guid>
      <dc:creator>RandomFed</dc:creator>
      <dc:date>2023-06-11T11:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466955#M71076</link>
      <description>&lt;P&gt;Welcome to the Community!&lt;/P&gt;
&lt;P&gt;There are many ways to perform this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;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&lt;/LI&gt;
&lt;LI&gt;another would be to generate a new Column by "Recode" (right click on Column name ...)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;see also documentation that you can find under Help, or press ? and click on a part of the platform&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_0-1646392195778.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40529i2D6B0AC1D21E2968/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_0-1646392195778.png" alt="Georg_0-1646392195778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_2-1646392441989.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40531iEC18BF145BD02B2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_2-1646392441989.png" alt="Georg_2-1646392441989.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_1-1646392252573.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40530i8BA925C1FE9605C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_1-1646392252573.png" alt="Georg_1-1646392252573.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 11:17:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466955#M71076</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-03-04T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466963#M71077</link>
      <description>&lt;P&gt;Thanks a lot for your answer!&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 11:55:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466963#M71077</guid>
      <dc:creator>RandomFed</dc:creator>
      <dc:date>2022-03-04T11:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466974#M71078</link>
      <description>&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-03-04 at 11.56.41.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40534i6329DAD631ABB899/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-03-04 at 11.56.41.png" alt="Screenshot 2022-03-04 at 11.56.41.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-03-04 at 11.56.59.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40535i3F4C9C3ACA3C7B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-03-04 at 11.56.59.png" alt="Screenshot 2022-03-04 at 11.56.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 12:05:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/466974#M71078</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2022-03-04T12:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467023#M71084</link>
      <description>&lt;P&gt;If you want to wrap them on axis, sometimes you might manage with axis settings Wrap Lines, but I think it wont wrap one long string without any whitespace&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1646403280544.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40544iA7A99B23E998EBE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1646403280544.png" alt="jthi_0-1646403280544.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You might also end up with some missing labels when using this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1646403440512.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40545i56AEE241BF1BD756/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1646403440512.png" alt="jthi_1-1646403440512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I had this problem in some earlier version of JMP (I think it was 14), I did create new label column with some very complicated regex to handle the splitting at correct place&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 14:17:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467023#M71084</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-04T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467831#M71176</link>
      <description>&lt;P&gt;Thanks a lot! It was exactly my point!&lt;BR /&gt;Which version are you using now? I have JMP14 and there is not that option in Axis Label Row, but I will move soon at 15.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 11:38:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467831#M71176</guid>
      <dc:creator>RandomFed</dc:creator>
      <dc:date>2022-03-08T11:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I wrap in multiple lines the label of a Group X variable in Graph Builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467833#M71177</link>
      <description>&lt;P&gt;It seems to be already in JMP15, but I'm using JMP16 so it might behave a little differently when compared to JMP15&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A little extra: here is the very very scary looking regex I used with JMP14 that I cannot remember anymore how it worked, but I think the idea was to wrap at 15th character if there are no whitespaces which could be used:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

regex_wrapping = "(?:((?&amp;gt;.{1,15}(?:(?&amp;lt;=[^\S\r\n])[^\S\r\n]?|(?=\r?\n)|$|[^\S\r\n]))|.{1,15})(?:\r?\n)?|(?:\r?\n|$))";

long_str_without_spaces = "very_long_string_with_many_words_and_requires_wrapping";
long_str_with_spaces = "very long string with many words and requires wrapping";

Show(Regex(long_str_without_spaces, regex_wrapping, "\1\!N", GLOBALREPLACE));
Show(Regex(long_str_with_spaces, regex_wrapping, "\1\!N", GLOBALREPLACE));
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Mar 2022 11:50:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-wrap-in-multiple-lines-the-label-of-a-Group-X-variable/m-p/467833#M71177</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-08T11:50:46Z</dc:date>
    </item>
  </channel>
</rss>

