<?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: Missing Local Filter when Append Graph to the new Window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718249#M90056</link>
    <description>&lt;P&gt;The Local Data Filter is independent of the Graph Builder Report, so it has to be added separately.&lt;/P&gt;
&lt;P&gt;The path to the Local data filter is being referenced by going to the parent of the Graph Builder object and then referencing the Outline Box for the Local Data Filter.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Yld2 = Graph Builder(
	Size( 604, 690 ),
	Show Control Panel( 0 ),
	Variables( X( :Index ), Y( :YieProcess ), Page( :sex ) ),
	Elements(
		Points( X, Y, Legend( 4 ) ),
		Line( X, Y, Legend( 5 ) ),
		Caption Box( X, Y, Legend( 6 ), Per Factor( 1 ) )
	),
	Local Data Filter(
		Add Filter( columns( :Process ), Where( :Process == "Auto_Align", "Final_Electrical_Test" ), Display( &lt;SPAN class="lia-emoticons-autosuggestions"&gt;&lt;SPAN class="lia-emoticons-search-term"&gt;:Process&lt;/SPAN&gt;&lt;/SPAN&gt;, N Items( 10 ) ) )
	)
);

plot = New Window( "Plot", tb = Tab Box() );
tb &amp;lt;&amp;lt; append( "Yield Trend By Process", vlb = V List Box( hlb = H List Box() ) );
hlb &amp;lt;&amp;lt; append( (Report( yld2 ) &amp;lt;&amp;lt; parent)["Local Data Filter"] );
hlb &amp;lt;&amp;lt; append( Report( Yld2 ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 24 Jan 2024 04:51:53 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-01-24T04:51:53Z</dc:date>
    <item>
      <title>Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718247#M90054</link>
      <description>&lt;P&gt;I try to append graph with local filter to the new window&lt;/P&gt;&lt;P&gt;The graph is appeared in the New Window Tab but the local filter is missing.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Yld2 = 
Graph Builder(
	Size( 604, 690),
	Show Control Panel( 0 ),
	Variables( X( :Index ), Y( :Yield ), Page( :Process ) ),
	Elements(
		Points( X, Y, Legend( 4 ) ),
		Line( X, Y, Legend( 5 ) ),
		Caption Box( X, Y, Legend( 6 ), Per Factor( 1 ) )
	),
	Local Data Filter(
		Add Filter( columns( :Process ), Where( :Process == {"Auto_Align", "Final_Electrical_Test"} ),Display( :Process, N Items( 10 ) ) )
	) 
);

plot = new window("Plot", tb = tab box());
tb &amp;lt;&amp;lt; append ("Yield Trend By Process",vlb = vlistbox());
vlb &amp;lt;&amp;lt; append(report(Yld2));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jan 2024 04:14:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718247#M90054</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2024-01-24T04:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718249#M90056</link>
      <description>&lt;P&gt;The Local Data Filter is independent of the Graph Builder Report, so it has to be added separately.&lt;/P&gt;
&lt;P&gt;The path to the Local data filter is being referenced by going to the parent of the Graph Builder object and then referencing the Outline Box for the Local Data Filter.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Yld2 = Graph Builder(
	Size( 604, 690 ),
	Show Control Panel( 0 ),
	Variables( X( :Index ), Y( :YieProcess ), Page( :sex ) ),
	Elements(
		Points( X, Y, Legend( 4 ) ),
		Line( X, Y, Legend( 5 ) ),
		Caption Box( X, Y, Legend( 6 ), Per Factor( 1 ) )
	),
	Local Data Filter(
		Add Filter( columns( :Process ), Where( :Process == "Auto_Align", "Final_Electrical_Test" ), Display( &lt;SPAN class="lia-emoticons-autosuggestions"&gt;&lt;SPAN class="lia-emoticons-search-term"&gt;:Process&lt;/SPAN&gt;&lt;/SPAN&gt;, N Items( 10 ) ) )
	)
);

plot = New Window( "Plot", tb = Tab Box() );
tb &amp;lt;&amp;lt; append( "Yield Trend By Process", vlb = V List Box( hlb = H List Box() ) );
hlb &amp;lt;&amp;lt; append( (Report( yld2 ) &amp;lt;&amp;lt; parent)["Local Data Filter"] );
hlb &amp;lt;&amp;lt; append( Report( Yld2 ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jan 2024 04:51:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718249#M90056</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-01-24T04:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718254#M90060</link>
      <description>&lt;P&gt;If you build your report in a bit different way it should work. This is one option&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

vlb = V List Box(gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(7)), Smoother(X, Y, Legend(8))),
	Local Data Filter(Add Filter(columns(:age), Display(:age, N Items(6))))
));

plot = New Window("Plot", tb = Tab Box());
tb &amp;lt;&amp;lt; append("Yield Trend By Process", plot_collector = V List Box());
plot_collector &amp;lt;&amp;lt; append(vlb);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jan 2024 06:26:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718254#M90060</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-24T06:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718349#M90088</link>
      <description>&lt;P&gt;When I saw this idea, I thought: wow, great, looks like a solution for the idea with the split Graph + additional legend (/ data filter)&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;BR /&gt;But it seems that by taking the parts of the report the objects loose their interactivity :(&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 23:41:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718349#M90088</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-01-24T23:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718351#M90089</link>
      <description>&lt;P&gt;Nice idea to encapsulate the fragile GraphBuilder with a display box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just found in the Scripting Index that Platform is explicitly invented for this application:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1706140034253.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60574i90AABE058B158B64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1706140034253.png" alt="hogi_0-1706140034253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if &lt;STRONG&gt;Platform&lt;/STRONG&gt; has a benefit compared to a &lt;STRONG&gt;List Box&lt;/STRONG&gt; - or another Display Box ...&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 23:49:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718351#M90089</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-01-24T23:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Local Filter when Append Graph to the new Window</title>
      <link>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718353#M90090</link>
      <description>&lt;P&gt;You could also generate the Data Filter and the GraphBuilder separately and append both to the window.&lt;BR /&gt;Important: don't forget the Data Filter Context Box which will create the link between the Data Filter and the plot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

gb = H List Box(
	dt &amp;lt;&amp;lt; Graph Builder(
		Size( 200, 200 ),
		Show Control Panel( 0 ),
		Variables( X( :sex ), Y( :age ) ),
		Elements( Points( X, Y, Legend( 4 ) ) )
	)
);
ldf = H list Box(dt &amp;lt;&amp;lt; Data Filter( Local, Add Filter( columns( :sex ) ) ));

plot = New Window( "Plot", Data Filter Context Box( tb = Tab Box() ) );
tb &amp;lt;&amp;lt; append(
	"age by sex",
	Data Filter Context Box(
		hlb = H List Box()

	)
);
hlb &amp;lt;&amp;lt; append( ldf );
hlb &amp;lt;&amp;lt; append( gb );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And the easiest way:&lt;BR /&gt;Create the window with the plot and the Data Filter - don't append them :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 00:15:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Missing-Local-Filter-when-Append-Graph-to-the-new-Window/m-p/718353#M90090</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-01-25T00:15:18Z</dc:date>
    </item>
  </channel>
</rss>

