Subscribe Bookmark RSS Feed

Does JMP have something similar to Callback Functions?

agonzales2021

Contributor

Joined:

Jun 23, 2017

Is there some kind of placeholder object I can replace with the slider once all graphs are made? Or is there such a thing as a callback function in JMP (the kind of function that automatically runs any time something changes)?

2 REPLIES
markbailey

Staff

Joined:

Jun 23, 2011

The description of your window and its behavior is a bit vague but perhaps this (untested) example might be a way to achieve the control that you need:

chart axis = List();

win = New Window( "Eight Charts",
	vlb = V List Box(),
	Slider Box( low, high, x, chart axis << Min( x )
	)
);

For( c = 1, c <= 8, c++,
	vlb << Append(
		gb = dt << Graph Builder( ... )
	);
	Insert Into( chart axis, gb[AxisBox(1)] );
);
Learn it once, use it forever!
agonzales2021

Contributor

Joined:

Jun 23, 2017

exactly what I needed thank you