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
RA899
Level III

Automating Graph Builder Dashboard

Hello, 

I'm working on creating a dashboard and I would like to find a way to automate the process.

 

I'm able to automate the process at the moment if, for example, I create a 2*2 dashboard. I use the script again to make another 2*2 dashboard.

 

The question is: how can automate a process to create a dashboard that shrinks and expand whenever applicable. For example: if I provide 2 plots It will do a 2*1 dashboard. if 6, it will create a 2*3 table and so on. In short it will create a M*N dashboard automatically. 

 

In the code of dashboards; the main issues I'm having when switching from a dashboard size to another is the "Organize" and "Initialize" pieces of codes. Maybe it is the key to the answer ? I'm not sure. 

 

Your help is appreciated. 

 

RA899_0-1728409554818.png

 

1 REPLY 1
hogi
Level XII

Re: Automating Graph Builder Dashboard

How to you create the display Boxes which you will place into the MxN grid?

Maybe just start with a Dashboard with 2x1.
Then create the display boxes which you want to add via the JSL part of the Dashboard - and add them via
Splitter2 << append(mynewDisplayBox)

 

Please take care to save the Application always in the 2x1 mode.
If you save it once with 2x2 boxes, in future it will start from this configuration.
As a workaround, you could add a script which kills all additional display boxes and just keeps the first 2x1.