<?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 do interactive Graph Builder in a custom window without toolbars or menus? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673098#M86074</link>
    <description>&lt;P&gt;I'm not sure where they are ignored&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Wafer Stacked.jmp");

gb_expr = Expr(
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Show Control Panel(0),
		Variables(X(:X_Die), Y(:Y_Die), Wrap(:Wafer), Color(:Defects)),
		Elements(Heatmap(X, Y, Legend(5)))
	);
	gb &amp;lt;&amp;lt; Fit To Window("Off");
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Height(10);
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Width(15);
);

nw = New Window("GB", Show Menu(0), Show Toolbars(0),
	gb_expr
);
nw &amp;lt;&amp;lt; Set Window Size(1900, 1000);

// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Min Size;
// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Max Size;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 31 Aug 2023 19:34:19 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-08-31T19:34:19Z</dc:date>
    <item>
      <title>How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672271#M86004</link>
      <description>&lt;P&gt;Currently I have the following script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder(...);
rgb = Report(gb);
win = New Window("Custom Window", Show Menu( 0 ), Show Toolbars( 0 ), rgb);
gb &amp;lt;&amp;lt; Close Window;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This way I get my small GB plot in a nice window without unnecessary user controls.&lt;/P&gt;&lt;P&gt;The problem is that I cannot select points on that plot - it's a report, plot is not interactive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I either:&lt;/P&gt;&lt;P&gt;a) make it interactive, so a user could interact with the plot, or&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) stay with the original Graph Builder window - but remove menus, toolbars etc.?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 19:05:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672271#M86004</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-08-29T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672434#M86012</link>
      <description>&lt;P&gt;You can just run Graph Builder inside new window (I have used expression, as it makes new window part cleaner).&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_expr = Expr(gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
));

nw = New Window("GB", Show Menu(0), Show Toolbars(0),
	gb_expr
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Aug 2023 03:53:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672434#M86012</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-30T03:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672640#M86033</link>
      <description>&lt;P&gt;That's how you do it! It works!&lt;/P&gt;&lt;P&gt;However, I'm getting into another problem now. My plot is a series of wafer maps (wrapped by WaferID), and therefore need to be circles (not ovals). So I specifically set the size of the FrameBox:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(gb &amp;lt;&amp;lt; xpath( "//FrameBox" )) &amp;lt;&amp;lt; Set Width( 100 )&amp;lt;&amp;lt; Set Height( 100 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now, when window is created first, it has a size, and content (my plot) is stretched to fit the window. Even if I say:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(gb &amp;lt;&amp;lt; xpath( "/OutlineBox" ))&amp;lt;&amp;lt;Set Stretch( "Off", "Off" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It will ignore my size setting, stretch the plots to fit the window, and THEN turn off stretching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to go around it? Like, tell window to change its size according to content, not the other way around?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 16:19:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672640#M86033</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-08-30T16:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672826#M86050</link>
      <description>&lt;P&gt;This partially depends (on my experience) which display box you use to wrap the graph builder in. Is it just new window or something weirder like sheet box or v splitter box? Sometimes something like this will be enough&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Wafer Stacked.jmp");

gb_expr = Expr(
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Show Control Panel(0),
		Variables(X(:X_Die), Y(:Y_Die), Wrap(:Wafer), Color(:Defects)),
		Elements(Heatmap(X, Y, Legend(5)))
	);
	//gb &amp;lt;&amp;lt; Fit To Window("Off");
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Height(100);
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Width(200);
);

nw = New Window("GB", Show Menu(0), Show Toolbars(0),
	gb_expr
);
// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Min Size;
// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Max Size;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 04:49:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/672826#M86050</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-31T04:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673004#M86064</link>
      <description>&lt;P&gt;Yes, I tried it initially the same way, the problem is that it doesn't work - &amp;lt;&amp;lt;Set Height and &amp;lt;&amp;lt;Set Width are ignored when placing Graph Builder platform inside window.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 16:05:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673004#M86064</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-08-31T16:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673098#M86074</link>
      <description>&lt;P&gt;I'm not sure where they are ignored&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Wafer Stacked.jmp");

gb_expr = Expr(
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Show Control Panel(0),
		Variables(X(:X_Die), Y(:Y_Die), Wrap(:Wafer), Color(:Defects)),
		Elements(Heatmap(X, Y, Legend(5)))
	);
	gb &amp;lt;&amp;lt; Fit To Window("Off");
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Height(10);
	(gb &amp;lt;&amp;lt; xpath("//FrameBox")) &amp;lt;&amp;lt; Set Width(15);
);

nw = New Window("GB", Show Menu(0), Show Toolbars(0),
	gb_expr
);
nw &amp;lt;&amp;lt; Set Window Size(1900, 1000);

// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Min Size;
// report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Get Max Size;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 19:34:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673098#M86074</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-31T19:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to do interactive Graph Builder in a custom window without toolbars or menus?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673110#M86077</link>
      <description>&lt;P&gt;If I just run the expression, it will open in its own window, and there I can control FrameBox sizes, below is example of 50x50 on top of 100x100 FrameBoxes. Basically, that's what I need - only in a custom window without menus etc.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-31 13_00_06-Wafer Stacked - Graph Builder 2 - JMP.png" style="width: 410px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56139i589180C056DE5CCB/image-dimensions/410x501?v=v2" width="410" height="501" role="button" title="2023-08-31 13_00_06-Wafer Stacked - Graph Builder 2 - JMP.png" alt="2023-08-31 13_00_06-Wafer Stacked - Graph Builder 2 - JMP.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I get if run it in the new window. No matter what sizes you specify - it ends up like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-31 13_00_49-GB - JMP.png" style="width: 362px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56140i9C0B761352A463D2/image-dimensions/362x309?v=v2" width="362" height="309" role="button" title="2023-08-31 13_00_49-GB - JMP.png" alt="2023-08-31 13_00_49-GB - JMP.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 20:10:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-do-interactive-Graph-Builder-in-a-custom-window-without/m-p/673110#M86077</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-08-31T20:10:33Z</dc:date>
    </item>
  </channel>
</rss>

