This is what I was looking for and it is so simple! I have 2 follow-up questions, listed by importance.
1. Most of my plots in graph builder have a category on the top X-axis (Group X) so each section is a different framebox and depending on the dataset the number of frameboxes is very dynamic. When I use this method for hover, the script is attached to an individual framebox. Is there a way to make it attach to all of them, dynamically?
here is an example of my script where there are 4 frame boxes. If I remove the 4th then run the script then I don't get hover in that last box.:
Graph Builder(
Size( 1284, 822 ),
Show Control Panel( 0 ),
Variables( X( :DFC ), Y( :Param1 ), Group X( :Param2 ) ),
Elements( Smoother( X, Y, Legend( 6 ) ), Points( X, Y, Legend( 7 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", FrameBox,
{Set Graphlet( Picture( Picture Box( Open( local:_link, jpg ) ) ) )}
),
Dispatch( {}, "Graph Builder", FrameBox( 2 ),
{Set Graphlet( Picture( Picture Box( Open( local:_link, jpg ) ) ) )}
),
Dispatch( {}, "Graph Builder", FrameBox( 3 ),
{Set Graphlet( Picture( Picture Box( Open( local:_link, jpg ) ) ) )}
),
Dispatch( {}, "Graph Builder", FrameBox( 4 ),
{Set Graphlet( Picture( Picture Box( Open( local:_link, jpg ) ) ) )}
),
)
);
2. Is there a way to specify the preview image size? And once I click the preview image then it opens the image in a new JMP window but my images are massive so I have to scroll around in the JMP window. Can this be set to size the image?