<?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: Data Filter - Zoom Settings in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597342#M80092</link>
    <description>&lt;P&gt;You can use Zoom to Selection&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
df = dt &amp;lt;&amp;lt; Data Filter(
	Location({175, 175}),
	Conditional,
	Mode(Include(1)),
	Add Filter(columns(:height), Where(:height &amp;gt;= 65))
);

fc = df &amp;lt;&amp;lt; Get Filter Column(:height);
fc &amp;lt;&amp;lt; Zoom to Selection;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Might be a good idea to also filter based on the high value to avoid possible issues&lt;/P&gt;</description>
    <pubDate>Sun, 05 Feb 2023 20:45:02 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-02-05T20:45:02Z</dc:date>
    <item>
      <title>Data Filter - Zoom Settings</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597337#M80091</link>
      <description>&lt;P&gt;When I open a data filter and use "zoom to Selection" to restrict the displayed ranged, I can generate a J'SL code which looks like the one below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1675628316656.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49838i445B91F8957B459B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1675628316656.png" alt="hogi_0-1675628316656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, when I run the JSL code, the Data Filter is opened without the range restriction (Jmp 17.0):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1675628338610.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49839i07322293BEBDFC55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1675628338610.png" alt="hogi_1-1675628338610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything that I can do to get the range restricted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt  &amp;lt;&amp;lt; Data Filter(
	Location( {175, 175} ),
	Conditional,
	Mode( Include( 1 ) ),
	Add Filter(
		columns( :height ),
		Where( :height &amp;gt;= 65 ),
		Display( :height, Min( 60 ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:38:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597337#M80091</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-08T16:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter - Zoom Settings</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597342#M80092</link>
      <description>&lt;P&gt;You can use Zoom to Selection&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
df = dt &amp;lt;&amp;lt; Data Filter(
	Location({175, 175}),
	Conditional,
	Mode(Include(1)),
	Add Filter(columns(:height), Where(:height &amp;gt;= 65))
);

fc = df &amp;lt;&amp;lt; Get Filter Column(:height);
fc &amp;lt;&amp;lt; Zoom to Selection;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Might be a good idea to also filter based on the high value to avoid possible issues&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2023 20:45:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597342#M80092</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-05T20:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter - Zoom Settings</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597351#M80093</link>
      <description>&lt;P&gt;You mean, repeat&amp;nbsp;&amp;nbsp;what I did manually, but via JSL:&lt;BR /&gt;- set the lower limit of the filter to 60&lt;/P&gt;&lt;P&gt;- apply &lt;STRONG&gt;Zoom to Selection&lt;/STRONG&gt; to enforce the&amp;nbsp;&lt;STRONG&gt;Display(:height, Min(60))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- then change the lower limit of the filter to 65 to get the correct selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hm, will work as a workaround. But why is the&amp;nbsp;&lt;STRONG&gt;Display(:height, Min(60)) &lt;/STRONG&gt;command&amp;nbsp;ignored by the Data Filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2023 22:14:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597351#M80093</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-02-05T22:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter - Zoom Settings</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597382#M80095</link>
      <description>&lt;P&gt;I would contact support about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also weird&amp;nbsp;DFIntMinMaxBox but it has no documentation and is only for specific platforms (filter?). I tried to use it to change the filters "zoom", it does work but it also has bugs so it won't behave exactly the same (if you try to drag over the zoom range it will set the value to minimum even if you cannot see it).&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 06:30:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597382#M80095</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-06T06:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter - Zoom Settings</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597394#M80097</link>
      <description>&lt;P&gt;Ok, let's see:&lt;BR /&gt;Case TS-00033636&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 07:41:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-Zoom-Settings/m-p/597394#M80097</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-02-06T07:41:15Z</dc:date>
    </item>
  </channel>
</rss>

