Dear Experts,
I am aware that one can reset the zoom applied by the magnifier (on graph builder) by double clicking or keeping Alt-key pressed (having the magnifier enabled). However, this functionality does not work if any changes to graph is done by using local data filter when being zoomed in state. Zoom in and zoom out (Ctrl key pressed) still works but I would like to have "zoom reset" back to original state.
Perhaps this is fixed in upcoming JMP versions. Meanwhile, I could have a button box on my application. Any ideas how to do this? I made some trials with following syntax but I could not find working combination
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
New Window("Big Class Graph",
V List Box(
bn = Button Box( "Reset zoom",
Report(gb)[GraphBuilderBox(1)] << SendToReport(
Dispatch(
{},
"height",
ScaleBox,
{Min( 50 ), Max( 75 ), Inc( 5 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"weight",
ScaleBox,
{Min( 60 ), Max( 180 ), Inc( 10 ), Minor Ticks( 1 )}
)
)
),
gb = dt << Graph Builder(
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 1 ) ) ),
SendToReport(
Dispatch(
{},
"height",
ScaleBox,
{Min( 50 ), Max( 75 ), Inc( 5 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"weight",
ScaleBox,
{Min( 60 ), Max( 180 ), Inc( 10 ), Minor Ticks( 1 )}
)
)
);
)
);
I am running JMP 16.
Thanks,
Janne