<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hover label in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/314572#M56646</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9761"&gt;@Françoise&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Does this graph uses a GroupX, GroupY or some other kind of grouping? If so, chances are you have configured one panel but not the other - the panels are independent under the covers.&lt;/P&gt;
&lt;P&gt;A simple workaround is to remove the grouping, add your thumbnail customization, and only then add the grouping. That ensures that the customization will be applied equally to all panels.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:12:37 GMT</pubDate>
    <dc:creator>nascif_jmp</dc:creator>
    <dc:date>2020-09-29T14:12:37Z</dc:date>
    <item>
      <title>Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287358#M55474</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to display a photo in my hover label when I click on a point of a graph (like in the file "Big class families", script "graph builder with pictures").&lt;/P&gt;&lt;P&gt;I would like to do the same thing but without the "Picture" column&lt;/P&gt;&lt;P&gt;Indeed, I have a database with a lot of lines and putting photos for each line would be too heavy&lt;/P&gt;&lt;P&gt;I would like to have a folder on my computer with all the photos, in “.jpg” format. These photos will have the same name as what is in the "name" column of my database&lt;/P&gt;&lt;P&gt;For example, Katie's photo will be named in my computer folder: "KATIE.jpg"&lt;/P&gt;&lt;P&gt;When I click on a point, I would like to display the corresponding image (which is in a folder on my computer, and not in an "image" column) thanks to the "name" column which is named from the same way as my photos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me please ?&lt;/P&gt;&lt;P&gt;For the moment, I can only open the folder with all my photos when I go over a point but it does’nt show me the photo that corresponds to the point in the hover label&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:35:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287358#M55474</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2023-06-09T23:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287405#M55477</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a really interesting request!&amp;nbsp; One possible way of doing this I can think of would be to use scripting to 1) create a new column, 2) insert the picture in that column at a row where the filename matches a value in another column, 3) display the picture as a hover label.&amp;nbsp; This way, pictures would only be added to the table as the points are hovered over.&amp;nbsp; You could add a line at the start of the script that deletes the picture column if it exists before creating a new one, thereby ensuring that only one picture is inserted into your table at a time.&amp;nbsp; Does this sound like something that would work?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:41:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287405#M55477</guid>
      <dc:creator>HadleyMyers</dc:creator>
      <dc:date>2020-08-24T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287408#M55479</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/19859"&gt;@Emma1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can be done using Graphlets, a Hover Label extension added in JMP 15.0.You will need a bit of JSL to tell JMP how to find your image file, based on the value of your image column. The example below illustrates that approach, using the Iris dataset and deriving the image file name from the the corresponding species. As a bonus, it shows how to open the photo in a browser window when you click on the hover label thumbnail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the Hover Label Editor to implement this same technique, with less coding (you will just need to provide the content for the 'Picture' and 'Click' (optional) attributes below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More details in our&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/add-graphs-or-images-to-hover-labels.shtml#" target="_self"&gt;documentation.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Check also the &lt;A href="https://community.jmp.com/t5/JMP-Scripts/WikiReader-Augmenting-Hover-Labels-with-web-data-and-images/ta-p/237488" target="_self"&gt;WikiReader&lt;/A&gt; File Exchange script for an example of displaying images (and text) from a web API (in this case, Wikipedia).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Uses Graphlet to display flower image as thumbnail, click to open in browser
Names Default to Here(1);
cwd = Get Default Directory();
dt = Open("$SAMPLE_DATA/Iris.jmp");
gb = dt &amp;lt;&amp;lt; 
Graph Builder(
    Size( 531, 456 ),
    Show Control Panel( 0 ),
    Variables( X( :Petal length ), Y( :Sepal length ), Color( :Species ) ),
    Elements( Points( X, Y, Legend( 2 ) ) ),
    SendToReport(
        Dispatch(
            {},
            "Graph Builder",
            FrameBox,
            {Set Graphlet(
                Picture(PictureBox(Open( cwd || local:_Species || ".jpg", "jpg"))),
                Click(Web( "file://" || cwd || local:_Species || ".jpg" ))
            )}
        )
    )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:52:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287408#M55479</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-24T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287409#M55480</link>
      <description>&lt;P&gt;I like this better than what I suggested.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:55:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287409#M55480</guid>
      <dc:creator>HadleyMyers</dc:creator>
      <dc:date>2020-08-24T14:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287414#M55481</link>
      <description>&lt;P&gt;Thank you very much for your two answers &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7531"&gt;@HadleyMyers&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3734"&gt;@nascif_jmp&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I have already read the article with&amp;nbsp;Iris and tried the script.&lt;/P&gt;&lt;P&gt;However, instead of referring to a web link, I would like to refer to an image in a folder.&lt;/P&gt;&lt;P&gt;It should not appear in my script a web link, but a link to find a particular photo&lt;/P&gt;&lt;P&gt;In addition, it would'nt be necessary to open the folder of photos with the "open" function present in the script, it would just be necessary that this photo is displayed in the hover label&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:08:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287414#M55481</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-24T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287422#M55482</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/19859"&gt;@Emma1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The script I posted as an example in my reply shows how to display the image inside your hover label as a thumbnail as you described.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it does read the image from the disk, not from the web.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "open" function, despite its name, does not open the folder. It loads the image and passes it to a &lt;A href="https://community.jmp.com/t5/Discussions/PictureBox/td-p/3253" target="_self"&gt;PictureBox&lt;/A&gt;, which is scaled down and displayed as a thumbnail inside the hover label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The display of the image on the browser on a click event is optional. You can remove the "Click" attribute from the script if you don't want it.&lt;/P&gt;
&lt;P&gt;In which case, clicking on the thumbnail will display the image in a regular JMP window.&lt;/P&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Aug 2020 18:27:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287422#M55482</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-24T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287938#M55509</link>
      <description>&lt;P&gt;Ok thank you !&lt;/P&gt;&lt;P&gt;I apply what you tell me but when I click on a dot, the hover label does'nt show up, only the photos file from my computer opens.&lt;/P&gt;&lt;P&gt;In the last line of my script: "Picture (PictureBox (Open (cwd," \ .jpg "))),"&lt;/P&gt;&lt;P&gt;Is it possible at this step to specify to open the photo of the point which has the same name in my photo folder and in one of my columns in my database? To link the names in this column to the image names in my computer folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 06:40:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287938#M55509</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-25T06:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287983#M55525</link>
      <description>&lt;P&gt;OK, let's see:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; I apply what you tell me but when I click on a dot, the hover label does'nt show up, only the photos file from my computer opens.&lt;/P&gt;
&lt;P&gt;The hover label (JMP's name for what is usually called a tooltip) shows up, as the name implies, when you hover or position the mouse over a marker in your graph, not when you click on it. Once the hover label is displayed - and if all goes well, it should include a thumbnail of your image file - you can click on the image for additional actions, for example to open the image in a new JMP window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; In the last line of my script: "Picture (PictureBox (Open (cwd," \ .jpg "))),"&lt;/P&gt;
&lt;P&gt;The open command above has two problems:&lt;/P&gt;
&lt;P&gt;1) The first argument is missing the value from the table row to create a correspondent file name. It is trying to open a folder, not an image file.&lt;/P&gt;
&lt;P&gt;2) The second argument, the type modifier that tells the open command how to read the file data, should be just "jpg".&lt;/P&gt;
&lt;P&gt;To recall, here is the open command from the example I posted earlier:&lt;/P&gt;
&lt;LI-CODE lang="jsl"&gt;Picture(PictureBox(Open( cwd || local:_Species || ".jpg", "jpg"))),&lt;/LI-CODE&gt;
&lt;P&gt;Note how it is using a local variable ('local:_Species") to create the file name to match your observation. I believe you have a similar column in your data table. Local variables holding the corresponding value for the current visual marker are created automatically for labelled columns. If the column in your data table that matches the file name is not labelled, you can still get its value by using a direct column reference using the local variable 'local:_firstRow' as an index. It would look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Picture(PictureBox(Open( cwd || :species[local:_firstRow] || ".jpg", "jpg"))),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;These local variables are defined as part of the &lt;A href="https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/work-with-the-hover-label-execution-context.shtml" target="_self"&gt;Hover Label Execution Context&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; Is it possible at this step to specify to open the photo of the point which has the same name in my photo folder and in one of my columns in my database? To link the names in this column to the image names in my computer folder?&lt;/P&gt;
&lt;P&gt;Yes, it is. We are very close of making it work. :)&lt;/img&gt;&lt;/P&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Aug 2020 14:31:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287983#M55525</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-25T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287990#M55527</link>
      <description>&lt;P&gt;Ok great thank you !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I have this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 256px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26400i8D04DED29160FA7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the last line of my script is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Picture(PictureBox(Open( cwd || :"Quantième +n°cuve"[local:_firstRow] || ".jpg", "jpg"))),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I have a cross on my hover label...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me please ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 19:35:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/287990#M55527</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-25T19:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288001#M55530</link>
      <description>&lt;P&gt;The cross indicates that it failed to load the file. So we are not generating the file name correctly yet.&lt;/P&gt;
&lt;P&gt;Time to do some debugging.&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Picture(&lt;/SPAN&gt;&lt;FONT color="#0000dd"&gt;PictureBox&lt;/FONT&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;fileName =&amp;nbsp;cwd || :Name(&lt;FONT color="#800080"&gt;"Quantième +n°cuve")&lt;/FONT&gt;[local:_firstRow] ||&amp;nbsp;&lt;FONT color="#800080"&gt;".jpg";&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Show(fileName);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000dd"&gt;&amp;nbsp; Open&lt;/FONT&gt;&lt;SPAN&gt;( fileName&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#800080"&gt;"jpg"&lt;/FONT&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then check the JMP log after you hover over a point. Make sure the file name printed there matches a image file name in your folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note also how I changed the way you refer to the column name, you have to use the Name() function for column names that include invalid JSL name characters like that one. That change might actually solve this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:23:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288001#M55530</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-26T13:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288256#M55562</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I tried your line of code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SendToReport(
    Dispatch(
        {},
        "Graph Builder",
        FrameBox,
        {Set Graphlet(
            Picture(
                Picture Box(
                    fileName = cwd || :Name( "Quantième +n°cuve" )[local:_firstRow] || ".jpg";
                    Show( fileName );
                    Open( fileName, "jpg" );
                )
            )
        )}
    )
)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it still doesn't work. I still have a cross in my hover label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;JMP doesn't make the connection between the name of my column and the name of my images which are in a folder of my computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried also to change the name "Quantième+n°cuve" to put a simpler one ("id"), while changing the name of the column in my database, however it still doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:30:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288256#M55562</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-26T10:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288308#M55570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/19859"&gt;@Emma1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="messages"&gt;I promise you that JMP can make the connection between the id and the file name. But we have to give it enough information to do so.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;Have you defined the 'cwd' variable to point to the folder where the file is? The 'Open' command needs a complete file name.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;Please add to the beginning of the script, before the creation of the Graph Builder instance, an expression to define cwd as a string with the path to your images folder.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;Something like:&lt;/DIV&gt;
&lt;DIV class="messages"&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
cwd = "C:/myProject/myImages/"; //CHANGE THE PATH TO MATCH YOUR IMAGE FOLDER
gb = Graph Builder( ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV class="messages"&gt;In the original example I shared, I was defining 'cwd' using the current directory (the one the script was loaded from) because in my case the image folder was in the same directory as the script. This might or might not be the case for you. It is simpler if you simply specify the image folder path directly.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="messages"&gt;Also, don't forget to use Show() and check to logs to make sure the file name is what you would expect it to be.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;You are so close! I am looking forward to see a screenshot of the hover label with one of your images inside it!&lt;/DIV&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:22:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288308#M55570</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-26T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288449#M55572</link>
      <description>&lt;P&gt;Thank you very much for your help I succeeded!&lt;/P&gt;&lt;P&gt;It was only a "/" that was missing at the end of my "cwd" path&lt;/P&gt;&lt;P&gt;Here's the photo :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 647px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26423i831C7AEB377B5ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my screenshot, I increased the size of my photo in the hover label editor then the "Thumbnail" tab&lt;/P&gt;&lt;P&gt;I put Width = Height = 400 while at the beginning there was Width = 200 and Height = 170&lt;/P&gt;&lt;P&gt;Is it possible to add this photo size in the script? 400 x 400?&lt;/P&gt;&lt;P&gt;Or does each user of the script need to change this&amp;nbsp;with the&amp;nbsp;hover label editor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:36:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288449#M55572</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-26T14:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288473#M55573</link>
      <description>&lt;P&gt;I am so glad it worked! And even more so to see such a beautiful cheese! :)&lt;/img&gt;&lt;/P&gt;
&lt;DIV class="messages"&gt;You can add the size of the thumbnail to the script. Add to the beginning of the script:&lt;/DIV&gt;
&lt;DIV class="messages"&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;tX = 400; tY = 400;
size = EvalList({tX, tY});&lt;/CODE&gt;&lt;/PRE&gt;
And then add, inside your setGraphlet call (maybe after the Picture attribute)&lt;/DIV&gt;
&lt;DIV class="messages"&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Thumbnail( size )&lt;/CODE&gt;&lt;/PRE&gt;
Note also that you have the option to click on the thumbnail to launch the image - at full size - in a separate window.&lt;/DIV&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="messages"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:05:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/288473#M55573</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-26T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290612#M55592</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to increase the size of the thumbnail with the script&lt;/P&gt;
&lt;P&gt;I added at the start of my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder(

    tX = 400;
    tY = 400;

    size = Eval List( {tX, tY} );

    Size( 531, 456 );, 

    Show Control Panel( 0 )
    
    // ...
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I add "Thumbnail" at the end like this, it no longer works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder(

    tX = 400;
    tY = 400;

    size = Eval List( {tX, tY} );

    Size( 531, 456 );, 

    Show Control Panel( 0 ), 
    
    // ...
    
    SendToReport(
        Dispatch(
            {},
            "Graph Builder",
            FrameBox,
            {Set Graphlet(
                Thumbnail( size ),
                Picture(
                    Picture Box(
                        fileName = cwd || :Name( "Quantième +n°cuve" )[local:_firstRow] || ".jpg";
                        Show( fileName );
                        Open( fileName, "jpg" );
                    )
                )
            )},

        )
    )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to set "Thumbnail (size)" to other places in the script but I can't increase the size, I think I'm not putting it in the right place&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a good idea to click on the photo directly in the thumbnail to view it large but the size is too large&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a good day&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:27:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290612#M55592</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-27T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290658#M55593</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3734"&gt;@nascif_jmp&lt;/a&gt;&amp;nbsp;&amp;nbsp;I succeeded!&lt;/P&gt;
&lt;P&gt;It had to be put before "graph builder"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;tX = 400;
tY = 400;

size = Eval List( {tX, tY} );

gb = Graph Builder( /* ... */ );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for the&amp;nbsp;Thumbnail :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SendToReport(
    Dispatch(
        {},
        "Graph Builder",
        FrameBox,
        {Set Graphlet(
            Picture(
                Picture Box(
                    fileName = cwd || :Name( "Quantième +n°cuve" )[local:_firstRow] || ".jpg";

                    Show( fileName );
                    Open( fileName, "jpg" );
                )
            ), 
            Thumbnail( size )
        )}
    )
)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again for your help !&lt;/P&gt;
&lt;P&gt;have a good day&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:31:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290658#M55593</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-27T10:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290752#M55595</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have another question :&lt;BR /&gt;This script is only applied to a chart (which I built at the start)&lt;BR /&gt;I have another script (much longer) which allows you to build several charts and display them in the same window and in different tabs&lt;BR /&gt;I would like to apply the previous script (which displays the photos of cheeses when we click on a dot) to all my other graphics&lt;BR /&gt;Is there an easy way to do this?&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 09:17:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290752#M55595</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-27T09:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290774#M55596</link>
      <description>&lt;P&gt;Hello again !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to "paste" my script to display the photos to other graphics, but I still have a problem&lt;/P&gt;&lt;P&gt;When it's graphics with a variable that we have "grouped" at the top (as on the image I am sending you), the photos of the cheeses are displayed only on the left part, not on the others parts.&lt;/P&gt;&lt;P&gt;As if JMP considered that there were two graphics and applied the script only on the left part.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 823px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26435i5336812D26FB15E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have some charts that have multiple "Dispatch" inside "Send to report".&lt;/P&gt;&lt;P&gt;In these cases, where can I put my search script for my cheese photos so that it can be applied to my whole graphic?&lt;/P&gt;&lt;P&gt;Thank you for your help, and sorry for all these questions.&lt;/P&gt;&lt;P&gt;Indeed, you helped me a lot the first time ...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 11:03:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290774#M55596</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-27T11:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290952#M55603</link>
      <description>&lt;P&gt;Hello again, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/19859"&gt;@Emma1&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;I am glad the Thumbnail size setting is now working for you, I am sorry I didn't give you a full example. But you figured it out, well done!&lt;/P&gt;
&lt;P&gt;Just a reminder for other readers, this setting was added in 16.0, so I guess you are using an Early Adopter version.&lt;/P&gt;
&lt;P&gt;As for the image displayed on click being too large, keep reading, I added a solution for that in the script below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding setting the image display graphlet in a graph that uses a Grouping variable, you have already guessed the issue. Under the covers, the graph on each one of the panels - or frames, as we call them - is an individual graph, and the dispatchReport command is only configuring the very first one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An easy workaround for that is to use the XPath to find all the frames in your composite graph:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = dt &amp;lt;&amp;lt; Graph Builder( ... );
frames = (gb &amp;lt;&amp;lt; report) &amp;lt;&amp;lt; xpath("//FrameBox");
Show(NItems(frames)); // one frame(graph) per panel&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The frame references are captured in a list. We can now configure all of them at once by sending a setGraphlet message (any message, actually) to the list, which "broadcasts" the message to its members:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;frames &amp;lt;&amp;lt; Set Graphlet( ... );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The complete script is attached below. Note how we used the scale() message to change the size of the image (I scaled it up, you will probably want to scale it down) before passing it back to be displayed by JMP when you click on the thumbnail image (which still uses the size determined by the Thumbnail() attribute).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;img = Open( fileName, "jpg" );
img &amp;lt;&amp;lt; scale( scaleValue );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to show a different image when you click on the thumbnail, or carry a different action (opening a web page or running a script) you can pass a JSL fragment to the setGraphlet() named attribute Click().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:06:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290952#M55603</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2020-08-27T15:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hover label</title>
      <link>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290953#M55604</link>
      <description>&lt;P&gt;Ok, I'll try your script to apply it to the others of my graphics!&lt;BR /&gt;On the other hand, I didn't understand what worked on JMP 16 and not on JMP 15? Can you explain please ?&lt;BR /&gt;Indeed, I am testing JMP 16 EA but other users have JMP 15, so I need a script that works with JMP 15 ...&lt;/P&gt;&lt;P&gt;Thank you&lt;BR /&gt;Have a good day&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:17:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hover-label/m-p/290953#M55604</guid>
      <dc:creator>Emma1</dc:creator>
      <dc:date>2020-08-27T15:17:30Z</dc:date>
    </item>
  </channel>
</rss>

