<?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: Issues with JMP17 Variability chart Row Legends in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665651#M85395</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1450"&gt;@tonya_mauldin&lt;/a&gt;&amp;nbsp; I have 200+ columns and brute forcing for each column wouldn't be the best approach.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Col_names = dt &amp;lt;&amp;lt; get column names(); /// contains 200+ columns
obj = dt &amp;lt;&amp;lt; Variability Chart( Y( Eval(Col_names) ), X(:LotNumber, :WaferId),

SendToReport(
		Dispatch(
			{"", 
			""},/// is there a way to reference the column name for 200+ colunm names here?
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Operator,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		)
	) );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 15:41:29 GMT</pubDate>
    <dc:creator>Jackie_</dc:creator>
    <dc:date>2023-08-04T15:41:29Z</dc:date>
    <item>
      <title>Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665596#M85390</link>
      <description>&lt;P&gt;I am trying to add row legends in the VC plots. However, the sendToReport doesn't add legends to all the plots. It only work for the first plot but not for the other VC charts. It used to work just fine in JMP 16.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__0-1691156612720.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55574i1AE3F7840FEF66BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__0-1691156612720.png" alt="Jackie__0-1691156612720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp" );
obj = dt &amp;lt;&amp;lt; Variability Chart( Y( :Measurement,:Standard ), X( :Operator, :part# ),

SendToReport(
		Dispatch(
			{"",
			""},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Operator,
				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;</description>
      <pubDate>Fri, 04 Aug 2023 13:43:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665596#M85390</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-08-04T13:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665611#M85391</link>
      <description>&lt;P&gt;I have never been able to add legends directly to the plot.&amp;nbsp; The legends always show up in a separate window which is frustrating.&amp;nbsp; Anxious to hear if anyone can solve this or it just needs to be added to the wish list.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 14:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665611#M85391</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2023-08-04T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665641#M85393</link>
      <description>&lt;P&gt;You need to send the legend code to the outline nodes that you are interested in.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp" );
obj = Variability Chart(
	Y( :Measurement, :Standard ),
	X( :Operator, :part# ),
	SendToReport(
		Dispatch(
			{"Variability Gauge Analysis for Measurement",
			"Variability Chart for Measurement"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				:Operator,
				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 Standard",
			"Variability Chart for Standard"},
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Operator,
				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;</description>
      <pubDate>Fri, 04 Aug 2023 15:13:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665641#M85393</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2023-08-04T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665651#M85395</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1450"&gt;@tonya_mauldin&lt;/a&gt;&amp;nbsp; I have 200+ columns and brute forcing for each column wouldn't be the best approach.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Col_names = dt &amp;lt;&amp;lt; get column names(); /// contains 200+ columns
obj = dt &amp;lt;&amp;lt; Variability Chart( Y( Eval(Col_names) ), X(:LotNumber, :WaferId),

SendToReport(
		Dispatch(
			{"", 
			""},/// is there a way to reference the column name for 200+ colunm names here?
			"Variability Chart",
			FrameBox,
			{Row Legend(
				Operator,
				Color( 1 ),
				Color Theme( "JMP Default"(1) ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		)
	) );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 15:41:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665651#M85395</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-08-04T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665654#M85396</link>
      <description>&lt;P&gt;One option is to use XPath to get references to FrameBoxes.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp");

obj = dt &amp;lt;&amp;lt; Variability Chart(
	Y(:Measurement, :Standard),
	X(:Operator, :part#)
);

(Report(obj) &amp;lt;&amp;lt; XPath("//FrameBox")) &amp;lt;&amp;lt; Row Legend(
	Operator,
	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;This example uses ALL frameboxes, but most likely you want to limit the selection in XPath query or use specific indices.&lt;/P&gt;
&lt;P&gt;Also this is a little related to this discussion &lt;LI-MESSAGE title="Show Legend on each graph on builder when using Page" uid="547432" url="https://community.jmp.com/t5/JMP-Scripters-Club-Discussions/Show-Legend-on-each-graph-on-builder-when-using-Page/m-p/547432#U547432" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Example of how to use xml attribute and its value in XPath and indexing:&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp");

obj = dt &amp;lt;&amp;lt; Variability Chart(
	Y(:Measurement, :Standard),
	X(:Operator, :part#)
);

fbs = Report(obj) &amp;lt;&amp;lt; XPath("//FrameBox[@helpKey = 'Variability Chart']");
fbs[1::N Items(fbs)::2] &amp;lt;&amp;lt; Row Legend(
	Operator,
	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;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 16:55:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665654#M85396</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-04T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with JMP17 Variability chart Row Legends</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665681#M85400</link>
      <description>&lt;P&gt;It works. Thank you Jarmo&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 16:52:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-JMP17-Variability-chart-Row-Legends/m-p/665681#M85400</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-08-04T16:52:54Z</dc:date>
    </item>
  </channel>
</rss>

