BookmarkSubscribe
Choose Language Hide Translation Bar
kschnarrs
Community Trekker

Column switcher with Control chart builder

When I hide the control panel on control chart builder, then use column switcher to toggle between control charts, the charts get smaller and smaller until you can no longer see them.

Does anyone know how to fix this?

0 Kudos
2 REPLIES 2
ian_jmp
Staff

Re: Column switcher with Control chart builder

With JMP 12.1 (on the Mac), the script below works for me with column switcher. Maybe contact JMP Technical Support giving your version number etc.?

NamesDefaultToHere(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

dt << Control Chart Builder(

Show Control Panel( 0 ),

Variables( Subgroup( :lot_id ), Y( :NPN1 ) ),

Chart( Position( 1 ) ),

Chart( Position( 2 ) ),

Column Switcher(

:NPN1,

{:NPN1, :PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4, :SIT1,

:INM1, :INM2, :VPM1, :VPM2, :VPM3, :PMS1, :SNM1, :SPM1, :NPN5, :EP2, :ZD6,

:PBA, :PLG, :CAP, :PBA 2, :PLG 2, :PNP5, :NPN6, :PNP6, :PNP7, :NPN7, :PNP8,

:IVP3, :IVP4, :IVP5, :IVP6, :PNP9, :NPN8, :NPN9, :IVP7, :NPN10, :N_1, :PBA1,

:WPR1, :B10, :PLY10, :VBE210, :VTN210, :VTP210, :SIT2, :SIT3, :INV2, :INV3,

:INV4, :INV5, :FST1, :FST2, :RES1, :RES2, :PNM1, :PPM1, :FNM1, :FPM1, :FST3,

:FST4, :RES3, :RES4, :A1, :B1, :A2N, :A2P, :A2P1, :IVP8, :IVP9, :DE_H1,

:NF_H1, :ESM1, :ESM2, :ESP1, :YFU1, :VPM4, :PBA2, :PBB1, :LYA1, :LYB1, :DEM1,

:DEP1, :NFM1, :PLY1, :VDP1, :VDP2, :SNW1, :RSP2, :PLY2, :RSP1, :VDP3, :PBL1,

:PLG1, :VDP4, :SPW1, :VIA1, :INM3, :VPM5, :VPM6, :INM4, :VPM7, :M1_M1,

:M2_M2, :P1_P1, :E2A1, :E2B1, :NPN11, :IVP10, :PNP10, :INM5, :VPM8, :VPM9,

:INM6, :VPM10, :N2A1, :N2B1, :NM_L1, :P2A1, :P2B1, :PM_L1, :P1, :M1}

)

);

0 Kudos
Highlighted
Nate_Riordan
Staff (Retired)

Re: Column switcher with Control chart builder

Hi kschnarrs,

I've seen this before as well.  The workaround is within what Ian is suggesting.  I've submitted this bug to tech support .  In the meantime I hope you're not afraid to modify the scripting code from the red triangle. The actual fix here is the removal of the size argument that is auto-generated when using the menu's to launch the control chart builder and add the column switcher.

10894_Screen Shot 2016-02-03 at 3.57.20 PM.png

Control Chart Builder(

    Size( 534, 454 ),

    Show Control Panel( 0 ),

    Variables( Y( :NPN1 ) ),

    Chart( Position( 1 ), Limits ),

    Chart( Position( 2 ) ),

    Column Switcher(

          :NPN1,

          {:NPN1, :PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4, :SIT1,

          :INM1, :INM2, :VPM1, :VPM2, :VPM3, :PMS1}

    ),

    SendToReport(

          Dispatch(

              {},

              "NPN1",

              ScaleBox,

              {Add Ref Line( 104.412948990151, "Solid", "Blue", "LSL", 1 ),

              Add Ref Line( 131.893493064355, "Solid", "Blue", "USL", 1 ),

              Add Ref Line( 118.153221027253, "Solid", "Blue", "Target", 1 )}

          )

    )

);