<?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: JSL for Control chart Text Box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404950#M65541</link>
    <description>&lt;P&gt;Thank you for the quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to clearly identify which text box this is used in? I have to also apply this to some for loops where it seems there is a dynamic text box call out and I cannot find the properties for which text box number I need to delete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of the for looping function I am trying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )

Open( "$SAMPLE_DATA/big class.jmp" );
ncol = N Col( Data Table( "big class" ) );

combo = V List Box();
w = New Window( "Run Charts", 
    H List Box( combo )
);

For( i = 4, i &amp;lt;= ncol, i++,
    plot = V List Box(
        Control Chart Builder(
            Test Excluded Subgroups( 1 ),
            Variables( Y( Column( i ) ) ),
            Where( :sex == "F" )
        );
    );
    combo &amp;lt;&amp;lt; append( plot );
    Current Report( combo )[Text Box( i - 3 )] &amp;lt;&amp;lt; delete;
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 20:06:39 GMT</pubDate>
    <dc:creator>Bhasemeier</dc:creator>
    <dc:date>2021-07-28T20:06:39Z</dc:date>
    <item>
      <title>JSL for Control chart Text Box</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404501#M65506</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I utilize a script which creates a control chart with a nested where statement. The script runs properly, however, the final output of the script&amp;nbsp; generates a small text box above my control chart frame box with my where statement clause. When this script is saved into my final report through powerpoint or text, a new page is created of this where statement text box for each chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to add JSL language to delete or edit this text box or to not print the text box?&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="Bhasemeier_0-1627431687100.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34596iDAF320F5BABFAB57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bhasemeier_0-1627431687100.png" alt="Bhasemeier_0-1627431687100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:16:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404501#M65506</guid>
      <dc:creator>Bhasemeier</dc:creator>
      <dc:date>2023-06-11T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: JSL for Control chart Text Box</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404506#M65507</link>
      <description>&lt;P&gt;Here is a script that will illustrate how to delete the displayed Where Clause&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

Control Chart Builder(
	Test Excluded Subgroups( 1 ),
	Variables( Y( :height ) ),
	Where( :sex == "F" )
);

current report()[textbox(1)]&amp;lt;&amp;lt;delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See the section in the Scripting Guide on Display Trees for documentation on the manipulation of output like this.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 00:50:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404506#M65507</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-28T00:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: JSL for Control chart Text Box</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404950#M65541</link>
      <description>&lt;P&gt;Thank you for the quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to clearly identify which text box this is used in? I have to also apply this to some for loops where it seems there is a dynamic text box call out and I cannot find the properties for which text box number I need to delete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of the for looping function I am trying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )

Open( "$SAMPLE_DATA/big class.jmp" );
ncol = N Col( Data Table( "big class" ) );

combo = V List Box();
w = New Window( "Run Charts", 
    H List Box( combo )
);

For( i = 4, i &amp;lt;= ncol, i++,
    plot = V List Box(
        Control Chart Builder(
            Test Excluded Subgroups( 1 ),
            Variables( Y( Column( i ) ) ),
            Where( :sex == "F" )
        );
    );
    combo &amp;lt;&amp;lt; append( plot );
    Current Report( combo )[Text Box( i - 3 )] &amp;lt;&amp;lt; delete;
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 20:06:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404950#M65541</guid>
      <dc:creator>Bhasemeier</dc:creator>
      <dc:date>2021-07-28T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: JSL for Control chart Text Box</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404963#M65544</link>
      <description>&lt;P&gt;Given the structure of how you are approaching your analysis, I would handle the deletion of the text box, by deleting it before appending the output to your V List Box.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )

Open( "$SAMPLE_DATA/big class.jmp" );
ncol = N Col( Data Table( "big class" ) );

combo = V List Box();
w = New Window( "Run Charts", 
    H List Box( combo )
);

For( i = 4, i &amp;lt;= ncol, i++,
    plot = V List Box(
        cc = Control Chart Builder(
            Test Excluded Subgroups( 1 ),
            Variables( Y( Column( i ) ) ),
            Where( :sex == "F" )
        );
    );
    (report(cc)&amp;lt;&amp;lt;parent)[textbox(1)]&amp;lt;&amp;lt;delete;
    combo &amp;lt;&amp;lt; append( plot );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The report element for a platform points to the first Outline Box() in the report, not to the HeadBox() as the Current Report() function does.&amp;nbsp; Therefore, one needs to move to the parent above the first OutlineBox() and the find the first text box() from that point.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 21:06:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-for-Control-chart-Text-Box/m-p/404963#M65544</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-28T21:06:10Z</dc:date>
    </item>
  </channel>
</rss>

