I would add the column switcher in a little bit different manner so you can get reference and then use << Set Size to that reference:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
col_list3 = dt << get column names( Numeric );
For( i = N Items( col_list3 ), i > 0, i--,
If( !Contains( col_list3[i], "PN" ),
Remove From( col_list3, i )
)
);
gb = dt << Graph Builder(
Size( 534, 572 ),
Show Control Panel( 0 ),
Variables( X( :PNP1 ), Y( :NPN1 ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
Local Data Filter(
Add Filter(
columns( :lot_id ),
Display( :lot_id, Size( 178, 221 ), Height( 221 ) )
)
),
);
colswitcher = gb << Column Switcher(
:NPN1,
{:NPN1, :PNP2, :NPN2, :PNP3, :PNP4, :NPN3, :NPN4, :NPN5, :PNP5, :NPN6, :PNP6,
:PNP7, :NPN7, :PNP8, :PNP9, :NPN8, :NPN9, :NPN10, :PNM1, :NPN11, :PNP10}
);
colswitcher << set size(300,300);
You could also check from Right click -> Edit -> Show Properties how to reference Column Switcher that way.
-Jarmo