cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Have your say in shaping JMP's future by participating in the new JMP Wish List Prioritization Survey
Choose Language Hide Translation Bar

Add Column Switcher to Script

Hi JMP Community,

 

I have a problem that cannot be solved for a long time. I want to add a column switcher to my Control Chart Builder. 

 

CC = Control Chart Builder(
   Size( 570, 692 ),
   Variables( Subgroup( :Week of Year ), Y( column(5) ) ),
   Column Switcher( column(5), {Eval(5::10)} )
);

The chart shows successfully, but I cannot see the column switcher. Appreciate any help. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Add Column Switcher to Script

I think you have to change your Eval(5::10) to something like

(Current Data Table() << Get Column Names)[5::10]
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Add Column Switcher to Script

I think you have to change your Eval(5::10) to something like

(Current Data Table() << Get Column Names)[5::10]
-Jarmo