cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
shampton82
Level VII

Outline close orientation for column switcher issue

I have a graph builder chart where I have multiple column switchers

shampton82_0-1714959418533.png

 

I've set their orientation to horizontal by right clicking on the maximize/minimize arrow and selecting this for each one:

shampton82_1-1714959453989.png

 

However, the script for this customization is not retained when I save the chart script for later use.  I see that there is this option in the scripting index:

shampton82_2-1714959586246.png

but not sure how to apply it to just the column switchers (don't want it applied to the local data filter).  Thanks for any suggestions!

 

Steve

 

 

14 REPLIES 14
hogi
Level XII

Re: Outline close orientation for column switcher issue

Thanks @Jasean for the clarification.

 

For me it's hard to judge if it's a bug that the Outline Close Orientation  and Horizontal(1/0) setting is missed by the Enhanced log - or if it's a new feature which should be added.

I would bet it's a bug - but I lost many similar bets ...

 

Let's see which reply we will get from JMP support.

If it's a bug I will indicate it in the wish such that it can be closed.

Jasean
Staff

Re: Outline close orientation for column switcher issue

Hi @hogi.  I can appreciate that it is difficult to know sometimes.  In those cases, I suggest contacting JMP Technical Support.  If it is not a bug, the support member will refer you to the Wish List.

Thanks!

hogi
Level XII

Re: Outline close orientation for column switcher issue

Jmp Support treats it as a "request", so the entry in the wish list can stay

 

edit: see below

hogi
Level XII

Re: Outline close orientation for column switcher issue

Ah, sorry, now it's considered a bug:

 

I believe this is a bug.  It turns out the outline box used for the column switcher is a different object than the "usual" outline box.  This particular object is not documented in the SI.  Additionally, while not everything is currently captured by the action recorder, the goal is to have it so.  In this case, the action recorder is not capturing that the orientation should be horizontal.  I will create a bug report for development to have these two items addressed in a future release.

shampton82
Level VII

Re: Outline close orientation for column switcher issue

That will work!

 

I modified the script to be more flexible and ended up with this:

Names Default To Here(1); 

gb =current report()["Graph Builder"]<< get scriptable object;

obs = (gb << top parent) << XPath("//ColumnSwitcherContextOutlineBox");
obs << Close(1);

wait(1);
obs << Outline Close Orientation("Horizontal");
// obs << Outline Close Orientation("Vertical");

Thanks Jarmo!