cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
Bingh94
Staff

How to display drag line graph values?

Hello,

 

I'm hoping to be able to find a way to use the 'Drag line' customisation (see below) to be able to report the x and y-values that the line has been dragged onto so it's displayed onto the graph.

 

Drag line script:

 

If( Is Empty( g_x5 ),
    g_x5 = [25.03, 17.32, 18.81];
    g_y5 = [26.86, 25.62, 21.61];
);
Drag Line( g_x5, g_y5 );

 

 

If possible, I'm also hoping to make it so the x and y points are anchored onto the axis, allowing for the user to drag the reference line across the graph space and have it read out the intersecting values (see mock up photo attached).

 

Thanks!

Ben

1 REPLY 1
ian_jmp
Level X

Re: How to display drag line graph values?

Will the JMP Crosshairs tool do what you want? See, for example, the recording from @andreacoombs1