Subscribe Bookmark RSS Feed

JSL: Customize Control Chart

uwe_hiss

Community Trekker

Joined:

Aug 12, 2015

Hello,

I would like to customize the control chart output like the screen below in my JSL script:

The settings in the prefrences and my script were not successful.

my biggest problem is, i can hide histogram and normal quantile plot and unhide the summary statistics only manualy-

Currently I'm working with the version 10.0.2


Script:


repWin = New Window( tableName,

  container = V List Box()

);

for (k = 1, k <= N Items(dataColName),k++,

content = V List Box(

  dt_data_sub << Control Chart(

      Group Size( 1 ),

      KSigma( 3 ),

      Chart Col(

            dataColName,

            Individual Measurement( Test 1( 1 ), Test 2( 1 ), Test 3( 1 ) ),

            Moving Range,

            Capability(

                  Distribution(

                        Continuous Distribution(

                            Column( dataColName),

  Quantiles( 0 ),

  Summary Statistics ( 1 ),

         Horizontal Layout( 1 ),

         Histogram( 0 ),

         Vertical( 0 ),

         Outlier Box Plot( 0 ),

         Normal Quantile Plot( 0 ),

                            PpK Capability Labeling( 1 ),

                            Capability Analysis()

                        )

  )

  )

  ),

      SendToReport(

            Dispatch(

                  {"Individual Measurement of Assay"},

                  "IR Chart of IM",

                  FrameBox( 2 ),

                  {Frame Size( 75, 162 )}

            ),

            Dispatch(

                  {"Moving Range of Assay"},

                  "IR Chart of MR",

                  FrameBox( 2 ),

                  {Frame Size( 75, 162 )}

            ),

            Dispatch(

                  {"Capability Analysis"},

                  "Long Term Sigma",

                  OutlineBox,

                  {Close( 1 )}

            ),

            Dispatch(

                  {"Capability Analysis"},

                  "Control Chart Sigma",

            )

      )

    )

);

container << Append(content)

);

9735_Unbenannt.PNG

1 REPLY
markbailey

Staff

Joined:

Jun 23, 2011

If you do not want these elements in the platform, send the << Delete message to the display box responsible for the content to be removed. One way to identify the object is to right-click on the open-close button (triangle shaped icon) just to the left of an outline close to the information, then select Show Display Tree. So if I wanted to remove the Long Term Sigma as shown in your example, I would evaluate content["Long Term Sigma"] << Delete.

It seems, though, that you should be able to use launch options to disable the features that you mentioned, though.

Learn it once, use it forever!