<?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: Remove extra text when exporting graph builder to powerpoint in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436812#M68587</link>
    <description>&lt;P&gt;You should be able to remove the text box with Where.. text with Xpath:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt &amp;lt;&amp;lt; Select Where(:sex == "M") &amp;lt;&amp;lt; Hide and Exclude(1) &amp;lt;&amp;lt; Clear Select;

obj = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:Sex), Y(:Height), Group X(:Age)),
	Elements(Box Plot(X, Y))
);

wait(1);

(Report(obj) &amp;lt;&amp;lt; XPath("//TextBox[contains(text(),'Where(')]")) &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Nov 2021 06:56:25 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2021-11-16T06:56:25Z</dc:date>
    <item>
      <title>Remove extra text when exporting graph builder to powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436666#M68578</link>
      <description>&lt;P&gt;&amp;nbsp;I'm trying to remove the extra text that is currently exported along side a graph builder output.&amp;nbsp; Currently it will export the graph as one slide, then an extra slide that looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MMuhonen_0-1637012491229.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37604i9D7FA083DA5FC72D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MMuhonen_0-1637012491229.png" alt="MMuhonen_0-1637012491229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that the "Where(xx rows excluded)" text is stored in the IfBox.&amp;nbsp; If I manually remove or hide that, the graph will export without the extra dialogue text, but I can't seem to figure out what is the right code for removing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MMuhonen_1-1637012560236.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37605i09F974A92848DDC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MMuhonen_1-1637012560236.png" alt="MMuhonen_1-1637012560236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;vcdgb = Graph Builder(
	Size( 1200, 1000 ),
	Fit to Window("Off"),
	Show Control Panel( 0 ),
	Variables( X( :SampleDay ), Y( :y condition ), Overlay( :Experiment Cond ) ),
	Elements( Points( X, Y, Legend( 8 ) ), Line( X, Y, Legend( 10 ) ) ),
);



vcdgb &amp;lt;&amp;lt; Save Presentation("C:\JMP Summary.pptx");
Open("C:\JMP Summary.pptx");

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:19:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436666#M68578</guid>
      <dc:creator>MMuhonen</dc:creator>
      <dc:date>2023-06-11T11:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra text when exporting graph builder to powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436812#M68587</link>
      <description>&lt;P&gt;You should be able to remove the text box with Where.. text with Xpath:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt &amp;lt;&amp;lt; Select Where(:sex == "M") &amp;lt;&amp;lt; Hide and Exclude(1) &amp;lt;&amp;lt; Clear Select;

obj = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(X(:Sex), Y(:Height), Group X(:Age)),
	Elements(Box Plot(X, Y))
);

wait(1);

(Report(obj) &amp;lt;&amp;lt; XPath("//TextBox[contains(text(),'Where(')]")) &amp;lt;&amp;lt; delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Nov 2021 06:56:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436812#M68587</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-11-16T06:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra text when exporting graph builder to powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436970#M68599</link>
      <description>&lt;P&gt;This solution directly addresses the request, but I caution about always using the &lt;STRONG&gt;&amp;lt;&amp;lt; Delete&lt;/STRONG&gt; message to eliminate a display box. There is always the possibility that such action might adversely affect the behavior of the display tree. Rather than delete the object, consider sending the &lt;STRONG&gt;&amp;lt;&amp;lt; Visibility( "Collapse" )&lt;/STRONG&gt; message instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This suggestion falls under a practice I teach called 'defensive scripting.'&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 14:13:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/436970#M68599</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-11-16T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove extra text when exporting graph builder to powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/437041#M68606</link>
      <description>&lt;P&gt;That worked! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 16:17:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-extra-text-when-exporting-graph-builder-to-powerpoint/m-p/437041#M68606</guid>
      <dc:creator>MMuhonen</dc:creator>
      <dc:date>2021-11-16T16:17:43Z</dc:date>
    </item>
  </channel>
</rss>

