Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
djhanson
Level V

Buttonbox to Zoom in/out Chart?

Does anyone know if one could buttonbox() some JSL to zoom in and another buttonbox() to zoom out a JMP chart?  In this case a bivariate chart display x/y coordinates.

I don't mind the stock JMP magnifier tool, but it doesn't allow zoom out and it would be nicer to let the user do this with a JSL control box of some sort. 

So wasn't sure if there is some source JSL code that might do the chart zooming in/out?  thx, DJ

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Buttonbox to Zoom in/out Chart?

I'm sure you could create something using the Min and Max settings for the axis boxes.

 

However, you can zoom out if you hold the control key and click with the magnifier tool. Click zooms in, ctrl-click (or command-click on the Mac) zooms out.

 

You can also zoom in and out by holding the control key and using the mouse's scroll wheel. 

View solution in original post

3 REPLIES 3
Highlighted

Re: Buttonbox to Zoom in/out Chart?

What do you mean by "it doesn't allow zoom out?"

Learn it once, use it forever!
Highlighted
djhanson
Level V

Re: Buttonbox to Zoom in/out Chart?

ok my bad...just discovered that "ctrl+magnifier" zooms out.  (minor thing: JMP should probably put a little minus sign in the magnifier icon with this action - it doesn't or at least in JMP12.x)

Anyways, I'll try coding in max/min of x/y axis' as the other poster described.  My intent was to see if there was some other way to take control of the magnifier via JSL code instead.  DJ

Highlighted

Re: Buttonbox to Zoom in/out Chart?

I'm sure you could create something using the Min and Max settings for the axis boxes.

 

However, you can zoom out if you hold the control key and click with the magnifier tool. Click zooms in, ctrl-click (or command-click on the Mac) zooms out.

 

You can also zoom in and out by holding the control key and using the mouse's scroll wheel. 

View solution in original post

Article Labels

    There are no labels assigned to this post.