Goal: to have the image display on point selection (or mouse over) in graph builder.
I do not want the data points to be represented by the image.
I have a column (Image Link 2) that is an expression and uses a formula. The formula calls the web address of the image (Image Link). The images show in the datatable in Image Link 2
This is the formula for Image Link 2. Data Type is Expression.
New Image( Open( :Image Link, jpg ) )
Image Link is something like the below. It displays in quotes in the data table. Data Type is character. (I've also tried it as an expression).
https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png
I've played with three things
1. Label / unlabel
2. Marker
3. Event handler
I thought this (Display Images on Hover Labels ) would work, making Image Link 2 Label, but it didn't work.
The closest I've gotten it to work is to set label to Image Link and put an Event Handler (the default one) on Image Link.
Function( {thisTable, thisColumn, iRow}, // 3 parameters
{ /* list of local variables, if needed */ },
// begin your code here
// this example is for URLs like https://www.jmp.com .
// You could build the URL from other columns and show
// a simpler ID in this column. You could also run a JMP
// platform instead of using the web() function.
Web( Char( thisTable:thisColumn[ iRow ] ) ); // open a web page
// end your code here
);
But on the graph it won't show the image it displays the text of the web address of the image.
Thank you.