<?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 JSL statement to turn off and turn on Upper and Lower Limits in Control Chart Builder from a Make Column Switch Handler in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623200#M82210</link>
    <description>&lt;P&gt;I am working on a Community Discussion entry.&amp;nbsp; My proposed solution uses a Make Column Switch Handler to change the Control Chart Builder display from a standard XBar chart with read in Control Limits, when they are available, to a Run chart with no limits.&amp;nbsp; The issue is specifically with the turning on and off of the displaying of the control limits.&amp;nbsp; The functionality exists on the Control Panel, but I have not been able to find a method to change the display/no display programmatically after the chart has been displayed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone have experience with this?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:08:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-06-09T16:08:11Z</dc:date>
    <item>
      <title>JSL statement to turn off and turn on Upper and Lower Limits in Control Chart Builder from a Make Column Switch Handler</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623200#M82210</link>
      <description>&lt;P&gt;I am working on a Community Discussion entry.&amp;nbsp; My proposed solution uses a Make Column Switch Handler to change the Control Chart Builder display from a standard XBar chart with read in Control Limits, when they are available, to a Run chart with no limits.&amp;nbsp; The issue is specifically with the turning on and off of the displaying of the control limits.&amp;nbsp; The functionality exists on the Control Panel, but I have not been able to find a method to change the display/no display programmatically after the chart has been displayed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone have experience with this?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:08:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623200#M82210</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-06-09T16:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: JSL statement to turn off and turn on Upper and Lower Limits in Control Chart Builder from a Make Column Switch Handler</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623313#M82215</link>
      <description>&lt;P&gt;Do you mean these checkboxes?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1681804259202.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52052i059079BB5220A29F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1681804259202.png" alt="jthi_0-1681804259202.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you might have to go with manipulating the checkboxboxes directly. Below is fairly quick made one, can be made much better&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt &amp;lt;&amp;lt; Control Chart Builder(Variables(Y(:Weight), Subgroup(:Sample)));

get_cbs = Expr(
	tbs = Report(obj) &amp;lt;&amp;lt; XPath("//TextBox[contains(text(), 'Show Lower Limit') or contains(text(), 'Show Upper') or contains(text(), 'Show Center Line')]");
	mbs = tbs &amp;lt;&amp;lt; parent;
	cbs = mbs &amp;lt;&amp;lt; sib;
);

get_cbs;

For(i = 1, i &amp;lt;= N Items(cbs), i++,
	get_cbs;
	cbs[i] &amp;lt;&amp;lt; Set(1,0);
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Apr 2023 07:53:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623313#M82215</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-04-18T07:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: JSL statement to turn off and turn on Upper and Lower Limits in Control Chart Builder from a Make Column Switch Handler</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623553#M82236</link>
      <description>&lt;P&gt;Jarmo,&lt;/P&gt;
&lt;P&gt;This is exactly what I need.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 16:45:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-statement-to-turn-off-and-turn-on-Upper-and-Lower-Limits-in/m-p/623553#M82236</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-04-18T16:45:46Z</dc:date>
    </item>
  </channel>
</rss>

