Just noticed that Filter Change Handler is triggering when just on hovering over graph and returning value -1. Simple example script here, run it, check log and hover over markers in the graph
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Probe.jmp");
nw = new window("",
Data Filter Context Box(
H List Box(
lf = dt << Data Filter(
Local,
Mode(Include(1)),
Conditional,
Add Filter(columns(:Wafer Number), Display(:Wafer Number, N Items(15)))
),
gb = dt << Graph Builder(
Size(534, 456),
Show Control Panel(0),
Variables(X(:R_RSICR_100X20), Y(:R_RPPBR_4X15)),
Elements(Points(X, Y, Legend(3)))
);
)
)
);
f = Function({a},
Print(a)
);
rs = lf << Make Filter Change Handler(f);
gb << On Close(
Try(Close(dt, no save));
rs = .;
)
Also when filter is changed it seems to trigger twice (but I would say this is to be expected with JMP).
Using JMP16.2 Pro and Windows 10.
-Jarmo