<?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: Ho to send messages to a local data filter inside a graph builder window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568422#M77912</link>
    <description>&lt;P&gt;And if the Graph is already there and I want to get the settings of the (existing) local data filter?&lt;/P&gt;&lt;P&gt;Any chance?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2022 10:32:33 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2022-11-12T10:32:33Z</dc:date>
    <item>
      <title>How to send messages to an already existing local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554796#M76937</link>
      <description>&lt;P&gt;Is it possible to send messages to a local data filter inside a graphbuilder object?&lt;/P&gt;&lt;P&gt;Unfortunately, it's not possible to define a varaible "ldf" inside the graphbuilder code - to send the messages to "ldf".&lt;/P&gt;&lt;P&gt;Do I have to "pipe" the message "through the gb object"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Graph Spacing( 5 ),
	Variables( X( :weight ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) ),
	Local Data Filter( Add Filter( columns( :sex ), Where( :sex == "F" ) ) )
);

df = dt &amp;lt;&amp;lt; Data Filter(
	Location( {696, 15} ),
	Mode( Include( 1 ) ),
	Add Filter( columns( :sex ), Where( :sex == "F" ) )
);
ldf = (report(gb) &amp;lt;&amp;lt; Parent)["Local Data Filter"];

df &amp;lt;&amp;lt; Clear ();&lt;BR /&gt;//same for ldf:
ldf[buttonBox(1)] &amp;lt;&amp;lt; click();

df &amp;lt;&amp;lt; Add Filter( columns( :name) );&lt;BR /&gt;//&amp;nbsp;same&amp;nbsp;for&amp;nbsp;ldf?&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Sat, 09 Sep 2023 10:38:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554796#M76937</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-09-09T10:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554829#M76940</link>
      <description>&lt;P&gt;You could add local data filter after graph builder has been created, this will let you have a reference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(534, 464),
	Show Control Panel(0),
	Graph Spacing(5),
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(5)), Smoother(X, Y, Legend(6)))
);

ldf = gb &amp;lt;&amp;lt; Local Data Filter(Add Filter(columns(:sex), Where(:sex == "F")));
wait(1);
ldf &amp;lt;&amp;lt; Clear();
ldf &amp;lt;&amp;lt; Add Filter( columns( :name) );// same for ldf?&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:37:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554829#M76940</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-10-11T10:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554830#M76941</link>
      <description>&lt;P&gt;Here is an example taken from the Scripting Index&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Time Series/Air.jmp" );
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 522, 492 ),
	Show Control Panel( 0 ),
	Variables(
		X( :month ),
		Y( :Ozone Concentration ),
		Group X( :Summer Months Intervention )
	),
	Elements( Points( X, Y, Legend( 10 ) ), Smoother( X, Y, Legend( 11 ) ) ), 

);
ldf = gb &amp;lt;&amp;lt; Local Data Filter(
	Add Filter( columns( :date ), Where( :date &amp;gt;= 16Oct1965 &amp;amp; :date &amp;lt;= 31Aug1968 ) )
);
fc = ldf &amp;lt;&amp;lt; Get Filter Column( :date );
fc &amp;lt;&amp;lt; Zoom to Selection;
Wait( 1 );
fc &amp;lt;&amp;lt; Reset Zoom;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:43:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554830#M76941</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-10-11T10:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554831#M76942</link>
      <description>&lt;P&gt;Oh, sure.&lt;BR /&gt;Like always:&lt;/P&gt;&lt;P&gt;enter the room through another door - and the wall is gone.&lt;BR /&gt;&lt;BR /&gt;Thanks Jarmo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:44:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/554831#M76942</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-11T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568422#M77912</link>
      <description>&lt;P&gt;And if the Graph is already there and I want to get the settings of the (existing) local data filter?&lt;/P&gt;&lt;P&gt;Any chance?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 10:32:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568422#M77912</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-12T10:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568425#M77913</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ldf = current report()["Local Data Filter"]&amp;lt;&amp;lt;get scriptable object;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 12 Nov 2022 11:09:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568425#M77913</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-11-12T11:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to send messages to a local data filter inside a graph builder window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568451#M77914</link>
      <description>&lt;P&gt;Ah, via the report layer!&lt;BR /&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt;get scriptable object;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is the best invention!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 16:31:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-send-messages-to-an-already-existing-local-data-filter/m-p/568451#M77914</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-11-12T16:31:14Z</dc:date>
    </item>
  </channel>
</rss>

