<?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: [Graph builder] Batch pin the hover label for selected rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952460#M109945</link>
    <description>&lt;P&gt;Does it need to be a hover label? Or could you use the picture as the symbol in your graph? For example, using the Big Class Families sample dataset:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1780651419584.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/105822iD2742FD231B8B363/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1780651419584.png" alt="christianz_0-1780651419584.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you only want pictures for selected rows, you could select them and Name Selection in Column, then use that Column to create a Transform column, like this:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Open Data Table: Big Class Families.jmp
// → Data Table( "Big Class Families" )
Open( "$SAMPLE_DATA/Big Class Families.jmp" );

// Name selection in column: Use Images
Data Table( "Big Class Families" ) &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt;
Select Rows( [1, 6, 14, 15, 16] ) &amp;lt;&amp;lt;
Name Selection in Column( Column Name( "Use Images" ), Selected( 1 ) );

Graph Builder(
	Transform Column( "Transform[height]", Formula( :height * :Use Images ) ),
	Size( 648, 551 ),
	Show Control Panel( 0 ),
	Variables(
		X( :weight ),
		Y( :height ),
		Y( :"Transform[height]"n, Position( 1 ) )
	),
	Elements(
		Points( X, Y( 1 ), Y( 2 ), Legend( 3 ) ),
		Points( X, Y( 2 ), Legend( 5 ), Set Shape Column( :picture ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV id="tinyMceEditor_2af7607a974446christianz_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1780654730474.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/105823iA5421AEC95C67811/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1780654730474.png" alt="christianz_0-1780654730474.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;I included the script so you can see the results with one click, but this can all be done within Graph Builder with no scripting. The key functionalities are&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/transform-columns-in-a-jmp-platform.shtml" target="_blank"&gt;Transform Columns&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/points.shtml" target="_self"&gt;Set Shape Column&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jun 2026 10:23:38 GMT</pubDate>
    <dc:creator>christian-z</dc:creator>
    <dc:date>2026-06-05T10:23:38Z</dc:date>
    <item>
      <title>[Graph builder] Batch pin the hover label for selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952446#M109944</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;Currently I use JMP16 to create a graph.&lt;/P&gt;
&lt;P&gt;I have a col with picture in it, and I want to pin the picture for each dot I selected so I turn on the "add label" of this col.&lt;/P&gt;
&lt;P&gt;But I find that I can only by hover my pointer on the dot, and wait the hover label shown itself, and then click the pin button to pin it one by one,&lt;/P&gt;
&lt;P&gt;is there any faster way to achieve this like jsl code?&amp;nbsp; I have million of rows need to show out the pics.&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 08:56:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952446#M109944</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-05T08:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Graph builder] Batch pin the hover label for selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952460#M109945</link>
      <description>&lt;P&gt;Does it need to be a hover label? Or could you use the picture as the symbol in your graph? For example, using the Big Class Families sample dataset:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1780651419584.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/105822iD2742FD231B8B363/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1780651419584.png" alt="christianz_0-1780651419584.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you only want pictures for selected rows, you could select them and Name Selection in Column, then use that Column to create a Transform column, like this:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Open Data Table: Big Class Families.jmp
// → Data Table( "Big Class Families" )
Open( "$SAMPLE_DATA/Big Class Families.jmp" );

// Name selection in column: Use Images
Data Table( "Big Class Families" ) &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt;
Select Rows( [1, 6, 14, 15, 16] ) &amp;lt;&amp;lt;
Name Selection in Column( Column Name( "Use Images" ), Selected( 1 ) );

Graph Builder(
	Transform Column( "Transform[height]", Formula( :height * :Use Images ) ),
	Size( 648, 551 ),
	Show Control Panel( 0 ),
	Variables(
		X( :weight ),
		Y( :height ),
		Y( :"Transform[height]"n, Position( 1 ) )
	),
	Elements(
		Points( X, Y( 1 ), Y( 2 ), Legend( 3 ) ),
		Points( X, Y( 2 ), Legend( 5 ), Set Shape Column( :picture ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV id="tinyMceEditor_2af7607a974446christianz_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1780654730474.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/105823iA5421AEC95C67811/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1780654730474.png" alt="christianz_0-1780654730474.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;I included the script so you can see the results with one click, but this can all be done within Graph Builder with no scripting. The key functionalities are&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/transform-columns-in-a-jmp-platform.shtml" target="_blank"&gt;Transform Columns&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/points.shtml" target="_self"&gt;Set Shape Column&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 10:23:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952460#M109945</guid>
      <dc:creator>christian-z</dc:creator>
      <dc:date>2026-06-05T10:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Graph builder] Batch pin the hover label for selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952463#M109946</link>
      <description>&lt;P&gt;Here's an example pinning the hover labels.&amp;nbsp; Interesting that the selection is zero-based indexing.&amp;nbsp; May want to modify to handle no rows selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );

dt &amp;lt;&amp;lt; Select Rows( [1 5 7] );

pin_expr = {};
For Each( {v, i}, dt &amp;lt;&amp;lt; Get Selected Rows,
	Insert Into(
		pin_expr,
		Eval(
			Eval Expr(
				{Add Pin Annotation(
					Seg( Marker Seg( 1 ) ),
					Index( Expr( v - 1 ) ),
					Index Row( Expr( v - 1 ) ),
					UniqueID( Expr( v - 1 ) )
				)}
			)
		)
	)
);

Eval(
	Substitute(
			Expr(
				dt &amp;lt;&amp;lt; Graph Builder(
					Size( 658, 556 ),
					Show Control Panel( 0 ),
					Variables( X( :weight ), Y( :height ) ),
					Elements( Points( X, Y, Legend( 5 ) ) ),
					SendToReport( Dispatch( {}, "Graph Builder", FrameBox, __pin_expr__ ) )
				)
			),
		Expr( __pin_expr__ ), Name Expr( pin_expr )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1780659051670.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/105824i542B98E94CE3DD14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1780659051670.png" alt="mmarchandFSLR_0-1780659051670.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 11:31:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952463#M109946</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2026-06-05T11:31:46Z</dc:date>
    </item>
  </channel>
</rss>

