<?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: Add legend in Vscroll box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/739474#M92139</link>
    <description>&lt;P&gt;You can try doing something like this but it could potentially mess up lots of different things&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
varchart = dt &amp;lt;&amp;lt; Variability Chart(
	Y(:NPN1, :PNP1, :PNP2, :NPN2, :PNP3),
	Model("Main Effect"),
	X(:Wafer ID in lot ID),
	Variability Analysis(:NPN1, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP1, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP2, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:NPN2, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP3, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1))
);


lubs = (Report(varchart) &amp;lt;&amp;lt; XPath("//OutlineBox[contains(text(), 'Variability Chart for')]//LineUpBox"));
listboxes = lubs[1::N Items(lubs)::2] &amp;lt;&amp;lt; parent;

leg = dt &amp;lt;&amp;lt; Color or Mark by Column(
	:Wafer ID in lot ID,
	Color Theme("Universal"(1)),
	Marker(0),
	Make window with legend(1)
);

leg_clone = leg &amp;lt;&amp;lt; clone box();
Window("Legend") &amp;lt;&amp;lt; Close Window;

For Each({listbox}, listboxes,
	listbox &amp;lt;&amp;lt; Append(
		V Scroll Box(
			leg_clone &amp;lt;&amp;lt; clone box();
		)
	)
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Mar 2024 11:26:09 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-28T11:26:09Z</dc:date>
    <item>
      <title>Add legend in Vscroll box</title>
      <link>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/737877#M91911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to add graph legends for each plots in a separate Vscroll box so that way I can avoid the blank area between two plots? I have a dashboard and am trying to make the plots more visually appealing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__0-1711120262513.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62531i452DFF371941827B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__0-1711120262513.png" alt="Jackie__0-1711120262513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
Variability Chart(
	Y( :NPN1, :PNP1, :PNP2, :NPN2, :PNP3 ),
	Model( "Main Effect" ),
	X( :Wafer ID in lot ID ),
	Variability Analysis(
		:NPN1,
		Show Range Bars( 0 ),
		Show Separators( 0 ),
		Std Dev Chart( 0 ),
		Points Jittered( 1 )
	),
	Variability Analysis(
		:PNP1,
		Show Range Bars( 0 ),
		Show Separators( 0 ),
		Std Dev Chart( 0 ),
		Points Jittered( 1 )
	),
	Variability Analysis(
		:PNP2,
		Show Range Bars( 0 ),
		Show Separators( 0 ),
		Std Dev Chart( 0 ),
		Points Jittered( 1 )
	),
	Variability Analysis(
		:NPN2,
		Show Range Bars( 0 ),
		Show Separators( 0 ),
		Std Dev Chart( 0 ),
		Points Jittered( 1 )
	),
	Variability Analysis(
		:PNP3,
		Show Range Bars( 0 ),
		Show Separators( 0 ),
		Std Dev Chart( 0 ),
		Points Jittered( 1 )
	),
	SendToReport(
		Dispatch(
			{"Variability Gauge Analysis for NPN1", "Variability Chart for NPN1"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				:Wafer ID in lot ID,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		),
		Dispatch(
			{"Variability Gauge Analysis for PNP1", "Variability Chart for PNP1"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Wafer ID in lot ID,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		),
		Dispatch(
			{"Variability Gauge Analysis for PNP2", "Variability Chart for PNP2"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Wafer ID in lot ID,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		),
		Dispatch(
			{"Variability Gauge Analysis for NPN2", "Variability Chart for NPN2"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Wafer ID in lot ID,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		),
		Dispatch(
			{"Variability Gauge Analysis for PNP3", "Variability Chart for PNP3"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Wafer ID in lot ID,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 15:16:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/737877#M91911</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2024-03-22T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add legend in Vscroll box</title>
      <link>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/739474#M92139</link>
      <description>&lt;P&gt;You can try doing something like this but it could potentially mess up lots of different things&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
varchart = dt &amp;lt;&amp;lt; Variability Chart(
	Y(:NPN1, :PNP1, :PNP2, :NPN2, :PNP3),
	Model("Main Effect"),
	X(:Wafer ID in lot ID),
	Variability Analysis(:NPN1, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP1, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP2, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:NPN2, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1)),
	Variability Analysis(:PNP3, Show Range Bars(0), Show Separators(0), Std Dev Chart(0), Points Jittered(1))
);


lubs = (Report(varchart) &amp;lt;&amp;lt; XPath("//OutlineBox[contains(text(), 'Variability Chart for')]//LineUpBox"));
listboxes = lubs[1::N Items(lubs)::2] &amp;lt;&amp;lt; parent;

leg = dt &amp;lt;&amp;lt; Color or Mark by Column(
	:Wafer ID in lot ID,
	Color Theme("Universal"(1)),
	Marker(0),
	Make window with legend(1)
);

leg_clone = leg &amp;lt;&amp;lt; clone box();
Window("Legend") &amp;lt;&amp;lt; Close Window;

For Each({listbox}, listboxes,
	listbox &amp;lt;&amp;lt; Append(
		V Scroll Box(
			leg_clone &amp;lt;&amp;lt; clone box();
		)
	)
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Mar 2024 11:26:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/739474#M92139</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-28T11:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add legend in Vscroll box</title>
      <link>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/739490#M92143</link>
      <description>&lt;P&gt;One could also directly copy the Display Box of the legend and paste it again to Scroll Boxes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The general issue with these approaches:&lt;BR /&gt;The legend loses it's interactivity :(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a Request in the wish list from May 2023:&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="Graph Builder - open legend in new window (or in it's own ScrollBox)" uid="655320" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-open-legend-in-new-window-or-in-it-s-own-ScrollBox/m-p/655320#U655320" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;up to now it did not collect any Kudo - so most probably it will get archived soon.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 12:45:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-legend-in-Vscroll-box/m-p/739490#M92143</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-28T12:45:55Z</dc:date>
    </item>
  </channel>
</rss>

