<?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: Legend in GraphBuilder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/510673#M73848</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;A previous post touched on this topic:&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Repeat-legend-with-every-page/td-p/47575" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Repeat-legend-with-every-page/td-p/47575&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I tried using the hidden "By" variable in Graph Builder using well-plate data but I wasn't happy with the way it looked (see image below):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 678px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43368iF09516757F455FDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Somehow, the wells weren't filled-in anymore.&amp;nbsp; However, I was able to get there by dragging my Cell Name column into Map Shape, my data column into Color, and then saving the script to a script window and manually adding the By variable (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( Color( :Data ), Shape( :Cell Name ) ),
	Elements( Map Shapes( Legend( 3 ) ) ),
	By( :Plate )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please try that out and see if it works for you.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 08:20:12 GMT</pubDate>
    <dc:creator>HadleyMyers</dc:creator>
    <dc:date>2022-06-17T08:20:12Z</dc:date>
    <item>
      <title>Legend in GraphBuilder</title>
      <link>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/510646#M73832</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a 96 well layout with my sample validity results for each well. The data set contains multiple plate runs which I would like to share in a team meeting, however, the legend appears aside only the first graph. Is there a way to make it so that each "Page" graph (in this case individual plate ID) has the legend next to it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:49:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/510646#M73832</guid>
      <dc:creator>H_1</dc:creator>
      <dc:date>2023-06-10T23:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Legend in GraphBuilder</title>
      <link>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/510673#M73848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;A previous post touched on this topic:&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Repeat-legend-with-every-page/td-p/47575" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Repeat-legend-with-every-page/td-p/47575&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I tried using the hidden "By" variable in Graph Builder using well-plate data but I wasn't happy with the way it looked (see image below):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 678px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43368iF09516757F455FDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Somehow, the wells weren't filled-in anymore.&amp;nbsp; However, I was able to get there by dragging my Cell Name column into Map Shape, my data column into Color, and then saving the script to a script window and manually adding the By variable (see below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( Color( :Data ), Shape( :Cell Name ) ),
	Elements( Map Shapes( Legend( 3 ) ) ),
	By( :Plate )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please try that out and see if it works for you.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 08:20:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/510673#M73848</guid>
      <dc:creator>HadleyMyers</dc:creator>
      <dc:date>2022-06-17T08:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Legend in GraphBuilder</title>
      <link>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/511651#M73944</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original solution will fill in the bubbles if you select map shapes in the options drop downs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this information and the work around if I can't get it to work with the shapes some time, this helped me tremendously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 18:01:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Legend-in-GraphBuilder/m-p/511651#M73944</guid>
      <dc:creator>H_1</dc:creator>
      <dc:date>2022-06-21T18:01:54Z</dc:date>
    </item>
  </channel>
</rss>

