<?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: Questions about control charts in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563332#M77632</link>
    <description>&lt;P&gt;I use these lines of code in my script (in a draft state):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Control Chart Builder(
	Size( 534, 464 ),
	Show Two Shewhart Charts( 0 ),
	Show Control Panel( 0 ),
	Show Capability( 1 ),
	Variables(
		Subgroup( :column(Sample) ),
		Y( :column(Variable) ),
		Phase( :column(Period) )
	),
	Chart(
		Points( Statistic( "Individual" ) ),
		Add Spec Limits( {LSL( LSL_def ), USL( USL_def )} ),
		Set Control Limits( {LCL( LCL_def ), UCL( UCL_def ), Avg( Avg )} ),
		Warnings( Test 1( 1 ), Test 2( 1 ), Test 3( 1 ) )
	),
	SendToReport(
		Dispatch(
			{},
			CQA,
			ScaleBox,
			{Min( Min(LCL_def, LSL_def)-1 ), Max( Max(UCL_def, USL_def)+1 ), Inc( 1 ), Minor Ticks( 0 ),
			Add Ref Line( LSL_def, "Solid", "Blue", "LSL="||char(LSL_def), 2 ),
			Add Ref Line( USL_def, "Solid", "Blue", "USL="||char(USL_def), 2 ),
			Add Ref Line( LCL_def, "Solid", "Red", "LCL="||char(LCL_def), 1 ),
			Add Ref Line( UCL_def, "Solid", "Red", "UCL="||char(UCL_def), 1 ),
			
			Add Ref Line( Avg, "", "Green", "UCL="||char(Avg), 1 )
			}
		),
		Dispatch(
			{},
			"Control Chart Builder",
			FrameBox,
			{DispatchSeg(
				TextSeg( 3 ),
				{Line Color( "None" ), Fill Color( "None" )}
			), DispatchSeg(
				TextSeg( 4 ),
				{Line Color( "None" ), Fill Color( "None" )}
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 12:25:59 GMT</pubDate>
    <dc:creator>PersuasionCamel</dc:creator>
    <dc:date>2022-11-02T12:25:59Z</dc:date>
    <item>
      <title>Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563285#M77629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you are doing well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions about the the Jmp script (JSL):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How can I get control chart with only 1 control limit (upper or lower)? If I define only one control limit, the other is still computed using the data.&lt;/LI&gt;&lt;LI&gt;Is there any way to show on the control chart the index of the points that break a Nelson rule (see screenshot below, the two points out of control limit are associated with their index)&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PersuasionCamel_0-1667386675175.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46826i340FBDEAB05A0E2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PersuasionCamel_0-1667386675175.png" alt="PersuasionCamel_0-1667386675175.png" /&gt;&lt;/span&gt;&lt;/P&gt;Thank you very much and have a nice day,&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Jean&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:01:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563285#M77629</guid>
      <dc:creator>PersuasionCamel</dc:creator>
      <dc:date>2023-06-09T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563302#M77630</link>
      <description>&lt;P&gt;JMP has more than one way to make a control chart. Could you please share which menu option you are using?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 11:28:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563302#M77630</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2022-11-02T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563332#M77632</link>
      <description>&lt;P&gt;I use these lines of code in my script (in a draft state):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Control Chart Builder(
	Size( 534, 464 ),
	Show Two Shewhart Charts( 0 ),
	Show Control Panel( 0 ),
	Show Capability( 1 ),
	Variables(
		Subgroup( :column(Sample) ),
		Y( :column(Variable) ),
		Phase( :column(Period) )
	),
	Chart(
		Points( Statistic( "Individual" ) ),
		Add Spec Limits( {LSL( LSL_def ), USL( USL_def )} ),
		Set Control Limits( {LCL( LCL_def ), UCL( UCL_def ), Avg( Avg )} ),
		Warnings( Test 1( 1 ), Test 2( 1 ), Test 3( 1 ) )
	),
	SendToReport(
		Dispatch(
			{},
			CQA,
			ScaleBox,
			{Min( Min(LCL_def, LSL_def)-1 ), Max( Max(UCL_def, USL_def)+1 ), Inc( 1 ), Minor Ticks( 0 ),
			Add Ref Line( LSL_def, "Solid", "Blue", "LSL="||char(LSL_def), 2 ),
			Add Ref Line( USL_def, "Solid", "Blue", "USL="||char(USL_def), 2 ),
			Add Ref Line( LCL_def, "Solid", "Red", "LCL="||char(LCL_def), 1 ),
			Add Ref Line( UCL_def, "Solid", "Red", "UCL="||char(UCL_def), 1 ),
			
			Add Ref Line( Avg, "", "Green", "UCL="||char(Avg), 1 )
			}
		),
		Dispatch(
			{},
			"Control Chart Builder",
			FrameBox,
			{DispatchSeg(
				TextSeg( 3 ),
				{Line Color( "None" ), Fill Color( "None" )}
			), DispatchSeg(
				TextSeg( 4 ),
				{Line Color( "None" ), Fill Color( "None" )}
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 12:25:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563332#M77632</guid>
      <dc:creator>PersuasionCamel</dc:creator>
      <dc:date>2022-11-02T12:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563347#M77635</link>
      <description>&lt;P&gt;To show only the upper limit, use the following command&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; Show Lower Limit( 0 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To show only the lower limit, use the following command&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show Upper Limit( 0 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To display the subgroup for the tests that violate the nelson rules, you have several options, you can hover over the points that violate the tests and when the hover label appears, you can pin the hover label.&lt;/P&gt;
&lt;P&gt;Or you could add the label role to the sample column in the data table and then use the row label command.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 12:39:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563347#M77635</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2022-11-02T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563513#M77638</link>
      <description>&lt;P&gt;Tank you very much for your answer.&lt;/P&gt;&lt;P&gt;Where in the code can I add:&lt;/P&gt;&lt;PRE class="language-jsl"&gt;&lt;CODE&gt; Show Lower Limit( 0 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And how can I use the "&lt;SPAN&gt;row label command" ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jean&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 15:15:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/563513#M77638</guid>
      <dc:creator>PersuasionCamel</dc:creator>
      <dc:date>2022-11-02T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564222#M77673</link>
      <description>&lt;P&gt;If you click on Help-&amp;gt;Scripting Index, you can search for Show Lower Limit in the Filter box.&amp;nbsp; That will give you the following JSL example.&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( Subgroup( :Sample ), Y( :Weight ) ),
	Chart(
		Position( 1 ),
		Limits( Show Lower Limit( 0 ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can read more about how to use the row label command in the documentation here:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.0/?os=win&amp;amp;source=application#page/jmp/label-rows-and-columns.shtml#ww481050" target="_blank"&gt;Label Rows and Columns (jmp.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 12:23:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564222#M77673</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2022-11-03T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564276#M77677</link>
      <description>&lt;P&gt;A last question, last question. I often have this type of error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PersuasionCamel_0-1667484118305.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46862iF7915D2CFAAFE0BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PersuasionCamel_0-1667484118305.png" alt="PersuasionCamel_0-1667484118305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Period column is made of "Previous", "Current" and "Next" elements.&lt;/P&gt;&lt;P&gt;How can I fix this error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 14:04:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564276#M77677</guid>
      <dc:creator>PersuasionCamel</dc:creator>
      <dc:date>2022-11-03T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about control charts</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564769#M77702</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Typically this issue is encountered when there is a column and a JSL variable with the same name.&amp;nbsp;&amp;nbsp;While possible, it just means that you have to be specific in the code. So be sure you are using proper scoping so that JMP understands whether you meant the JSL variable or the column.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:05:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-control-charts/m-p/564769#M77702</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2022-11-04T13:05:17Z</dc:date>
    </item>
  </channel>
</rss>

