<?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 Sharing a Local Data Filter between Graph Builders for synchronized data display in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Sharing-a-Local-Data-Filter-between-Graph-Builders-for/m-p/804139#M98166</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I would like to share the same Local Data Filter between two Graph Builders. For example, when selecting F, both Graph Builders should only display data related to F; and,&amp;nbsp;when selecting M, both Graph Builders should only display data related to M.&lt;BR /&gt;How can I achieve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "Weight VS Height",
	outlineBoxA = Outline Box( "Weight VS Height",
		Graph Builder(
			Size( 528, 456 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			Elements( Points( X, Y, Legend( 7 ) ) ),
			Local Data Filter( Add Filter( columns( :sex ), Where( :sex == "M" ) ) )
		);
		Graph Builder(
			Size( 534, 450 ),
			Show Control Panel( 0 ),
			Variables( X( :age ), Y( :weight ) ),
			Elements( Points( X, Y, Legend( 7 ) ) )
		);

	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 08 Oct 2024 10:19:56 GMT</pubDate>
    <dc:creator>BabyDoragon</dc:creator>
    <dc:date>2024-10-08T10:19:56Z</dc:date>
    <item>
      <title>Sharing a Local Data Filter between Graph Builders for synchronized data display</title>
      <link>https://community.jmp.com/t5/Discussions/Sharing-a-Local-Data-Filter-between-Graph-Builders-for/m-p/804139#M98166</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would like to share the same Local Data Filter between two Graph Builders. For example, when selecting F, both Graph Builders should only display data related to F; and,&amp;nbsp;when selecting M, both Graph Builders should only display data related to M.&lt;BR /&gt;How can I achieve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "Weight VS Height",
	outlineBoxA = Outline Box( "Weight VS Height",
		Graph Builder(
			Size( 528, 456 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			Elements( Points( X, Y, Legend( 7 ) ) ),
			Local Data Filter( Add Filter( columns( :sex ), Where( :sex == "M" ) ) )
		);
		Graph Builder(
			Size( 534, 450 ),
			Show Control Panel( 0 ),
			Variables( X( :age ), Y( :weight ) ),
			Elements( Points( X, Y, Legend( 7 ) ) )
		);

	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Oct 2024 10:19:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sharing-a-Local-Data-Filter-between-Graph-Builders-for/m-p/804139#M98166</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2024-10-08T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a Local Data Filter between Graph Builders for synchronized data display</title>
      <link>https://community.jmp.com/t5/Discussions/Sharing-a-Local-Data-Filter-between-Graph-Builders-for/m-p/804159#M98167</link>
      <description>&lt;P&gt;You can use data filter context box&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");


nw = New Window("Weight VS Height",
	Data Filter Context Box(
		outlineBoxA = Outline Box("Weight VS Height",
			H List Box(
				Data Filter Source Box(
					dt &amp;lt;&amp;lt; Data Filter(
						Local,
						Add Filter(columns(:sex), Where(:sex == "M"))
					)
				),
				V List Box(
					dt &amp;lt;&amp;lt; Graph Builder(
						Size(528, 456),
						Show Control Panel(0),
						Variables(X(:weight), Y(:height)),
						Elements(Points(X, Y, Legend(7)))
					),
					dt &amp;lt;&amp;lt; Graph Builder(
						Size(534, 450),
						Show Control Panel(0),
						Variables(X(:age), Y(:weight)),
						Elements(Points(X, Y, Legend(7)))
					);
				)
			)
		)
	)
);


Write();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww874876" target="_blank"&gt;Construct Display Boxes for New Windows (jmp.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 10:41:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sharing-a-Local-Data-Filter-between-Graph-Builders-for/m-p/804159#M98167</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-08T10:41:42Z</dc:date>
    </item>
  </channel>
</rss>

