<?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 Re: How do I get labels to 'stack' in graph builder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650349#M84169</link>
    <description>&lt;P&gt;Seems to work here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/CrimeData.jmp");

dt &amp;lt;&amp;lt; New Column("LABEL", Character, Nominal, Label(1), Formula(
	:Region || ",\!N" || :State
));

:Region &amp;lt;&amp;lt; Label(0);
:State &amp;lt;&amp;lt; Label(0);
:Year &amp;lt;&amp;lt; Label(0);

dt &amp;lt;&amp;lt; Select Where(Row() != Col Min(Row(), :State)) &amp;lt;&amp;lt; Hide and Exclude(1);

dt &amp;lt;&amp;lt; Select Where(Row() == Col Min(Row(), :State)) &amp;lt;&amp;lt; Label &amp;lt;&amp;lt; Clear Select;

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(Color(:Total Rate), Shape(:State)),
	Elements(Map Shapes())
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do you happen to have multiple values for each map shape?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 16:37:06 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-06-22T16:37:06Z</dc:date>
    <item>
      <title>How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649184#M84163</link>
      <description>&lt;P&gt;Hello. I am trying to get the labels in this map to be 'stacked' (so that it says the abbreviation on one line and then the number on the next line). Is there a way to do this? Thank you!&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="patriciafm811_0-1687445692039.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54035iE3FAF2C657C4B5DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patriciafm811_0-1687445692039.png" alt="patriciafm811_0-1687445692039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:56:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649184#M84163</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2023-06-22T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649228#M84165</link>
      <description>&lt;P&gt;I think one fairly easy option which should work is to create new column with ",\!N" as separator between different values.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

:name &amp;lt;&amp;lt; Label(0);
new_col = dt &amp;lt;&amp;lt; New Column("LABEL", Character, Nominal, Formula(
	Char(:height) ||",\!N" || Char(:weight)
));
new_col &amp;lt;&amp;lt; Label(1);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(1029, 499),
	Variables(X(:name), Y(:height)),
	Elements(Bar(X, Y, Legend(6), Label("Label by Row")))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1687446696011.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54038iB09AB94FF2C5DD14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1687446696011.png" alt="jthi_0-1687446696011.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 15:20:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649228#M84165</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-06-22T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649871#M84167</link>
      <description>&lt;P&gt;So I tried this and I can't get it to work in the map.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 16:20:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/649871#M84167</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2023-06-22T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650349#M84169</link>
      <description>&lt;P&gt;Seems to work here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/CrimeData.jmp");

dt &amp;lt;&amp;lt; New Column("LABEL", Character, Nominal, Label(1), Formula(
	:Region || ",\!N" || :State
));

:Region &amp;lt;&amp;lt; Label(0);
:State &amp;lt;&amp;lt; Label(0);
:Year &amp;lt;&amp;lt; Label(0);

dt &amp;lt;&amp;lt; Select Where(Row() != Col Min(Row(), :State)) &amp;lt;&amp;lt; Hide and Exclude(1);

dt &amp;lt;&amp;lt; Select Where(Row() == Col Min(Row(), :State)) &amp;lt;&amp;lt; Label &amp;lt;&amp;lt; Clear Select;

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(Color(:Total Rate), Shape(:State)),
	Elements(Map Shapes())
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do you happen to have multiple values for each map shape?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 16:37:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650349#M84169</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-06-22T16:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650357#M84170</link>
      <description>&lt;P&gt;I can't seem to get it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patriciafm811_0-1687453481805.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54045iD788D96B1471AAA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patriciafm811_0-1687453481805.png" alt="patriciafm811_0-1687453481805.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="patriciafm811_1-1687453559550.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54046iF10AA4208F183B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patriciafm811_1-1687453559550.png" alt="patriciafm811_1-1687453559550.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>Thu, 22 Jun 2023 17:06:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650357#M84170</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2023-06-22T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get labels to 'stack' in graph builder?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650359#M84171</link>
      <description>&lt;P&gt;You have to use label only on the formula column. And I'm not sure if you can write row change to the column by hand (that is why I did use formula with concatenation). You can see that the "\!N" is not visible in my rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1687454903899.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54047iB55DB3D8D98B908A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1687454903899.png" alt="jthi_0-1687454903899.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(I'm using JMP17)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:28:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-labels-to-stack-in-graph-builder/m-p/650359#M84171</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-06-22T17:28:46Z</dc:date>
    </item>
  </channel>
</rss>

