How to collapse Outline box for a graph builder box
Dec 21, 2010 11:41 AM(1611 views)
I'm hoping a seasoned JMP JSL scripter can help me with a problem. I'm trying to collapse the outline box around a graph builder chart in JSL. In different words, I'm trying to click the blue triangle for a graph builder chart by using JSL.
Create your graph in graph builder manually. Close the blue diamond outline manually. Click the red triangle and choose Script > Save Script to Script Window. That script will show you the code for running the graph builder and closing the outline node.
I saw that the command was "close(1)". In JSL, I then made a reference to the report of my graphbuilder object. Then I sent the outlinebox the message to close.
rpt=graphbuilder<rpt[outlinebox(1)]< Note that I found out it was outlinebox(1) by using the "show tree structure" menu item that I accessed by right clicking on the blue triangle>>edit>>show tree structure.