cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • 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.

Discussions

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

Trigger JSL by selecting a data point

Hi,

 

what is the best way to trigger JSL when I select a data point in Graph Builder?

e.g. to update parts of the Dashboard based on the current selection

 

There is the Row State Handler.

But this is a property of the data table. So the JSL code will even be triggered after the Dashboard got closed.

So, I would have to take care to remove it afterwards.

 

I noticed that a Filter Change Handler of a Local Data Filter can act as a row state handler - it will even trigger when the mouse touches a data point.

"Cool" - is this feature "as designed". It seems to be still available in Jmp18 - but I could imagine that it gets disabled at some later point in time:

Improve JMP's state handlers (hover label, row state handler, filter state handler, scheduler, ...) 

 

 

New window("test", Data Filter Context Box(

V List box(tb = Text Box ("hello"),
H list Box(
ldf = dt <<  data filter(local), 
gb = dt << Graph Builder(
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) )) )
)))));


i=1;
f = Function( {a}, Print( tb << set text(Char(i++)) ) );

rs = ldf  << Make Filter Change Handler( f );
2 REPLIES 2
jthi
Super User

Re: Trigger JSL by selecting a data point

I would say it depends what you wish to do with the data point selection, how many data points (or rather rows) might be selected at the same time and possibly other things.

-Jarmo
hogi
Level XIII

Re: Trigger JSL by selecting a data point

1pt /row (the script will use  the first selected row and neglect further selections)

 

At the moment we will go for :

  • Local Data Filter  (just generate it, and hide it)
  • Filter Change Handler (to abuse it as local row state handler)
  • check if the ROW selection was changed - otherwise do nothing.

 

Recommended Articles