<?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: Is there a preference setting to hide legacy Control Chart warning? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892901#M105392</link>
    <description>&lt;P&gt;Works great Jarmo! &amp;nbsp;Now if we can get JMP 19 to add the platform back in...&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2025 22:46:35 GMT</pubDate>
    <dc:creator>statman</dc:creator>
    <dc:date>2025-08-06T22:46:35Z</dc:date>
    <item>
      <title>Is there a preference setting to hide legacy Control Chart warning?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892420#M105339</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; JMP v18 users&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I'm curious if anyone has found a JMP preferences setting to hide or remove the legacy CC warning that appears in JMP 18.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1754398492599.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/79661iA9F9EB4967BB1B04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1754398492599.png" alt="SDF1_0-1754398492599.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; We have some JMP users that are running JSL code to build certain kinds of reports for customers, and they want to hide this warning, but don't want to have to hide it manually. I did find a scripting solution that hides the warnings &lt;A href="https://community.jmp.com/t5/Discussions/How-can-I-hide-remove-the-quot-Legacy-Control-Charts-are-being/m-p/800898#M97641" target="_self"&gt;here&lt;/A&gt;, which was posted in Sep 2024. I was just wondering if anyone has found a solution since that post was first created through the JMP &amp;gt; Preferences menu instead&amp;nbsp;(the users are not that experienced with scripting).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 13:03:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892420#M105339</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2025-08-05T13:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a preference setting to hide legacy Control Chart warning?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892466#M105342</link>
      <description>&lt;P&gt;Don't get me started. &amp;nbsp;I'm not aware of any preference and I still don't understand why they are removing the traditional control chart platform.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 13:36:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892466#M105342</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2025-08-05T13:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a preference setting to hide legacy Control Chart warning?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892714#M105384</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12549"&gt;@SDF1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;EDIT: Oops, didn't read that the part about not wanting a scripting solution!&lt;BR /&gt;&lt;BR /&gt;EDIT2: In EA19 there is a way to toggle off the alerts. The script below will still run and there is a toggle for the alert:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scott_allen_0-1754495032148.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/79758iF771DD826147E50F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scott_allen_0-1754495032148.png" alt="scott_allen_0-1754495032148.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think there is a way to hide the alerts in Preferences, but the warnings are just text boxes in the control chart report.&lt;/P&gt;
&lt;P&gt;Here is one way to remove them:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = open( "$SAMPLE_DATA\Tablet Measurements.jmp");
cc = dt &amp;lt;&amp;lt; Control Chart(
	Group Size( 1 ),
	KSigma( 3 ),
	Chart Col( :Weight, Individual Measurement, Moving Range ),
);
&lt;BR /&gt;// find the text boxes
textboxes = report( cc ) &amp;lt;&amp;lt; xpath( "//TextBox" );
&lt;BR /&gt;// delete the text box if it contains "Legacy"&lt;BR /&gt;for each( {box}, textboxes,
	if( contains( box &amp;lt;&amp;lt; get text, "Legacy" ), box &amp;lt;&amp;lt; delete )
)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 15:44:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892714#M105384</guid>
      <dc:creator>scott_allen</dc:creator>
      <dc:date>2025-08-06T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a preference setting to hide legacy Control Chart warning?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892796#M105391</link>
      <description>&lt;P&gt;This might be one case where Global Window Handler could be used with with an add-in / toolbar item to create the handler (or use startup script).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Set Global Window Handler(
	Function({window},
		Local({tebs},
			tebs = window &amp;lt;&amp;lt; XPath("//TextBox[text()='Legacy Control Charts are being removed in JMP 19. Please use Control Chart Builder from the Quality and Process menu instead.']");
			If(N Items(tebs) &amp;gt; 0,
				tebs &amp;lt;&amp;lt; Visibility("Collapse");
				Write("\!N", N Items(tebs), " legacy text boxes hidden from ", window &amp;lt;&amp;lt; Get Window Title);
				wait(0);
			);		
		);
	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Run that script and then create legacy control chart to see how it works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA\Tablet Measurements.jmp");
cc = dt &amp;lt;&amp;lt; Control Chart(
	Group Size(1),
	KSigma(3),
	Chart Col(:Weight, Individual Measurement, Moving Range)
);

Write();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also just take the function from the window handler and use it as a function which users could use.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

hide_legacy_cc_text = Function({window}, {Default Local},
	tebs = window &amp;lt;&amp;lt; XPath("//TextBox[text()='Legacy Control Charts are being removed in JMP 19. Please use Control Chart Builder from the Quality and Process menu instead.']");
	If(N Items(tebs) &amp;gt; 0,
		tebs &amp;lt;&amp;lt; Visibility("Collapse");
		Write("\!N", N Items(tebs), " legacy text boxes hidden from ", window &amp;lt;&amp;lt; Get Window Title);
		wait(0);
	);		
);


dt = Open("$SAMPLE_DATA\Tablet Measurements.jmp");
cc = dt &amp;lt;&amp;lt; Control Chart(
	Group Size(1),
	KSigma(3),
	Chart Col(:Weight, Individual Measurement, Moving Range)
);

hide_legacy_cc_text(cc);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 19:36:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892796#M105391</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-06T19:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a preference setting to hide legacy Control Chart warning?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892901#M105392</link>
      <description>&lt;P&gt;Works great Jarmo! &amp;nbsp;Now if we can get JMP 19 to add the platform back in...&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 22:46:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-preference-setting-to-hide-legacy-Control-Chart/m-p/892901#M105392</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2025-08-06T22:46:35Z</dc:date>
    </item>
  </channel>
</rss>

