cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Refresh chart in the same place

Hi, i have a several charts created in a new window, i want to have a "refresh button" that will refresh specific chart in the same place (if for example i filtered some data), for now all i got that it adds the cart under the original and if i delete the original before it gives an error 

3 REPLIES 3
txnelson
Super User

Re: Refresh chart in the same place

Here is an example that my give you an approach you can use

names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );

nw = new window("Example",
	vlb =vlist box(
	),
	buttonbox("refresh",
		biv << delete;
		wait(2);// the wait() is just to show that the chart has been deleted before the refresh
		vlb<<append(biv = dt << bivariate(x(:height),y(:weight)));
	)
);
vlb<<append(biv = dt << bivariate(x(:height),y(:weight)));
Jim
Buldozer
Level II

Re: Refresh chart in the same place

Thanks!!! working great!

Craige_Hales
Super User

Re: Refresh chart in the same place

Maybe Auto Recalc will work for you; the graph updates as the data changes.

red triangle->Redo->AutoRecalcred triangle->Redo->AutoRecalc

Craige

Recommended Articles