cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
shampton82
Level VII

Script to swap positions of a column from one graph builder drop zone to another

Hey everyone,

I was wondering if we can script the ability to move a column from one panel element to another in graph builder easily.  If it is a simple graph then just dragging columns around is easy enough, but if the chart gets really large and you can't see all the possible drop zones then it gets cumbersome to have to try and wait for the screen to scroll to where you want to go.  As an example, if I wanted to move the column that was in "PAGE" to "OVERLAY" and the chart is really tall, it is a pain to scroll all the way up while dragging the column.  I can relaunch the graph builder and use the set-up menu to make the move easily but then I lose the data filter set up and all the customizations.  I'm thinking if there was just a user interface that listed all the possible drop areas on the left-hand side to select where to move from and then a list of all the drop zones which would be where you wanted to move the column.

I'm thinking this would be possible but not sure if it will be too "fragile" to be practical.

 

Thanks for any input!

2 REPLIES 2
jthi
Super User

Re: Script to swap positions of a column from one graph builder drop zone to another

Are you just looking to move variable (column) to other role (drop zone) which isn't being used? It could be somewhat fragile to script this as you would most likely have to use << Add Variable and << Remove Variable.

Maybe there should be one additional option in right-click menu for graph builder: instead of just Swap there should also be a Move option. This would let you move the variable to other role instead of just swapping it with other variable (wish list item?). In my opinion, the user-experience in JMP with "long report windows" isn't really that good (especially in graph builder and tabulate) and you have to rely on local data filter.

-Jarmo
shampton82
Level VII

Re: Script to swap positions of a column from one graph builder drop zone to another

Hey @jthi ,

Yeah that correct, just move from one drop zone to another.  Kinda like how we can do with right clicking and using "swap" but instead of just showing a list of all the active columns, show a list of all drop zones.  So you could right click on something in the "PAGE" zone and select "OVERLAY" and the column would move drop zones.  Maybe I need to just put in a wish list item.

Recommended Articles