<?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: How to make graph Y-Axis axis scale with filter in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/690126#M87605</link>
    <description>&lt;P&gt;I was hoping for something native but yeah that seems like the best option if there isn't a native solution.&amp;nbsp; Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 20:59:21 GMT</pubDate>
    <dc:creator>Evan_Morris</dc:creator>
    <dc:date>2023-10-24T20:59:21Z</dc:date>
    <item>
      <title>How to make graph Y-Axis axis scale with filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/674445#M86179</link>
      <description>&lt;P&gt;Kind of a hard one to describe in the title.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a heatmap that I move around through with a local data filter.&amp;nbsp; I would like for the y-axis to maintain a specific scale per heatmap box and for the graph to get longer or shorter based on how may entries on the y-axis exist.&amp;nbsp; So if it has 10 entries it's X long.&amp;nbsp; If it has 200 entries it's 20*X long.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I want to maintain readibility of the y-axis labels and the labels in the heatmap itself which link to a hoverlabel graphlet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 14:27:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/674445#M86179</guid>
      <dc:creator>Evan_Morris</dc:creator>
      <dc:date>2023-09-05T14:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to make graph Y-Axis axis scale with filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/675041#M86210</link>
      <description>&lt;P&gt;You could trigger the size update by a &lt;STRONG&gt;Filter Change Handler&lt;/STRONG&gt;.&lt;BR /&gt;The gb &amp;lt;&amp;lt; Size message just has an effect, if you fist disable &lt;STRONG&gt;Fit to Window:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&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( 400, 400 ),
	Show Control Panel( 0 ),
	Set α Level( 0.01 ),
	Fit to Window( "Off" ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Group Y( :age ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);

df = gb &amp;lt;&amp;lt; Local Data Filter(

	Add Filter( columns( :age ), Where( :age == {14, 15} ), Display( :age, N Items( 6 ) ) )
);
	
adjustSize = Function( {x},
	sizeY = N Items( Current Report()["Local Data Filter", ListBoxBox( 1 )] &amp;lt;&amp;lt; get selected() ) * 200;
	gb &amp;lt;&amp;lt; size( 400, sizeY );
);
	
fsh = df &amp;lt;&amp;lt; Make Filter Change Handler( adjustSize );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 20:24:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/675041#M86210</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-09-06T20:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make graph Y-Axis axis scale with filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/690126#M87605</link>
      <description>&lt;P&gt;I was hoping for something native but yeah that seems like the best option if there isn't a native solution.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 20:59:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-graph-Y-Axis-axis-scale-with-filter/m-p/690126#M87605</guid>
      <dc:creator>Evan_Morris</dc:creator>
      <dc:date>2023-10-24T20:59:21Z</dc:date>
    </item>
  </channel>
</rss>

