<?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/952971#M109972</link>
    <description>&lt;P&gt;For me this seems to return correct values&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:age), Y(:height)), Elements(Points(X, Y, Legend(3))));
dt &amp;lt;&amp;lt; Select Rows([1, 10, 16, 20, 30]);

ms = Report(gb)[framebox(1)] &amp;lt;&amp;lt; Find Seg(Marker Seg(1));

selrows = dt &amp;lt;&amp;lt; Get Selected Rows();

For Each({currow}, selrows,
	coord = ms &amp;lt;&amp;lt; Get Point(currow);
	Show(coord);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1781024881201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/106146i5AEC6E759E7DB828/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1781024881201.png" alt="jthi_0-1781024881201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;coord = {0, 59};
coord = {1, 61};
coord = {1, 65};
coord = {1, 63};
coord = {2, 61};
coord = {2, 62};
coord = {3, 67};&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 09 Jun 2026 17:08:20 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-06-09T17:08:20Z</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>
    <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/952823#M109963</link>
      <description>&lt;P&gt;Thanks for the reply! Using Set Shape Column works great, but it would be even better if the points could be displayed as well. This is definitely a convenient approach!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 00:58:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952823#M109963</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-09T00:58:25Z</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/952824#M109964</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	For Each( {v, i}, row_selection,
		local_x = Column( dt, col_x )[v];
		local_y = Column( dt, col_y )[v];

		Insert Into(
			pin_expr,
			Eval(
				Eval Expr(
					{Add Pin Annotation(
						Seg( Marker Seg( 1 ) ),
						Index( Expr( v - 1 ) ),
						Origin( {Expr( local_x ), Expr( local_y )} ),
						Index Row( Expr( v - 1 ) ),
						UniqueID( Expr( v - 1 ) ),
                     Offset( {-50, -45} ),
                     Replace Text( " " ),
                     Filled( 0 ),
						Tag Line( 1 )
					)}
				)
			)
		);
	);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Great! It works, but all my annotations were pinned at the exact same position without the &lt;U&gt;Origin&lt;/U&gt; setting. To fix this, I read out the values of the x/y axes and assigned them to the &lt;U&gt;Origin&lt;/U&gt;. While this works perfectly on numeric axes, passing &lt;STRONG&gt;character column&lt;/STRONG&gt; values crashes the app. Is there a workaround for character columns? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 01:06:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952824#M109964</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-09T01:06:05Z</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/952846#M109965</link>
      <description>&lt;P&gt;For nominal/ordinal columns the axis starts from 0 and each value increases it by 1. You can verify this from axis settings&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1780977594025.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/106069i951B1195FD068C4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1780977594025.png" alt="jthi_0-1780977594025.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can write logic which takes care of this based on the data table or if you have point plot, you can get the values from markers&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:age), Y(:height)), Elements(Points(X, Y, Legend(3))));

ms = report(gb)[framebox(1)] &amp;lt;&amp;lt; find seg(markerseg(1));

Show(ms &amp;lt;&amp;lt; Get X Values, ms &amp;lt;&amp;lt; Get Y Values);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 04:04:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952846#M109965</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-09T04:04:39Z</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/952921#M109967</link>
      <description>&lt;P&gt;Thanks! It seems to return all the X/Y values, but how can I read-out the selected rows x/y? I tried code below but the x/y returned is not where I selected.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;r = dt &amp;lt;&amp;lt; Get Selected Rows();
ms = Report(gb)[framebox(1)] &amp;lt;&amp;lt; Find Seg( Marker Seg( 1 ) );
For Each( {v, i}, r,
	t = ms &amp;lt;&amp;lt; Get Point( v );
	x = t[1];
	y = t[2];
	show(x,y);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jun 2026 10:22:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952921#M109967</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-09T10:22:47Z</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/952971#M109972</link>
      <description>&lt;P&gt;For me this seems to return correct values&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:age), Y(:height)), Elements(Points(X, Y, Legend(3))));
dt &amp;lt;&amp;lt; Select Rows([1, 10, 16, 20, 30]);

ms = Report(gb)[framebox(1)] &amp;lt;&amp;lt; Find Seg(Marker Seg(1));

selrows = dt &amp;lt;&amp;lt; Get Selected Rows();

For Each({currow}, selrows,
	coord = ms &amp;lt;&amp;lt; Get Point(currow);
	Show(coord);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1781024881201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/106146i5AEC6E759E7DB828/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1781024881201.png" alt="jthi_0-1781024881201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;coord = {0, 59};
coord = {1, 61};
coord = {1, 65};
coord = {1, 63};
coord = {2, 61};
coord = {2, 62};
coord = {3, 67};&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jun 2026 17:08:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/952971#M109972</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-09T17:08:20Z</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/953046#M109982</link>
      <description>&lt;P&gt;Oh I see the issue now: hiding or excluding rows causes an index mismatch for the remaining data.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:age), Y(:height)), Elements(Points(X, Y, Legend(3))));
dt &amp;lt;&amp;lt; Select Rows([1, 10, 16, 20, 30]);
ms = Report(gb)[framebox(1)] &amp;lt;&amp;lt; Find Seg(Marker Seg(1));

selrows = dt &amp;lt;&amp;lt; Get Selected Rows();
pin_expr = {};
For Each({v}, selrows,
	coord = ms &amp;lt;&amp;lt; Get Point(v);
	Show(coord);
	Insert Into(
		pin_expr,
		Eval(
			Eval Expr(
				{Add Pin Annotation(
					Seg( Marker Seg( 1 ) ),
					Index Row( Expr( v - 1 ) ),
					Origin( Expr(coord)),
					UniqueID( Expr( v - 1 ) )
				)}
			)
		)
	)
);

Eval(
	Substitute(
			Expr( Report(gb)[framebox(1)] &amp;lt;&amp;lt; __pin_expr__ ),
		Expr( __pin_expr__ ), Name Expr( pin_expr )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By using this code, when row 17 hidden/excluded, it will cause the annotations of rows 20/30 to shift to the wrong positions.&lt;/P&gt;
&lt;P&gt;Is there a way to prevent this from happening? I mean for sure I have data points to be excluded..&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 01:27:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953046#M109982</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T01:27:18Z</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/953047#M109983</link>
      <description>&lt;P&gt;Oh I see the issue now: hiding or excluding rows causes an index mismatch for the remaining data.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt &amp;lt;&amp;lt; Graph Builder(Variables(X(:age), Y(:height)), Elements(Points(X, Y, Legend(3))));
dt &amp;lt;&amp;lt; Select Rows([1, 10, 16, 20, 30]);
ms = Report(gb)[framebox(1)] &amp;lt;&amp;lt; Find Seg(Marker Seg(1));

selrows = dt &amp;lt;&amp;lt; Get Selected Rows();
pin_expr = {};
For Each({v}, selrows,
	coord = ms &amp;lt;&amp;lt; Get Point(v);
	Show(coord);
	Insert Into(
		pin_expr,
		Eval(
			Eval Expr(
				{Add Pin Annotation(
					Seg( Marker Seg( 1 ) ),
					Index Row( Expr( v - 1 ) ),
					Origin( Expr(coord)),
					UniqueID( Expr( v - 1 ) )
				)}
			)
		)
	)
);

Eval(
	Substitute(
			Expr( Report(gb)[framebox(1)] &amp;lt;&amp;lt; __pin_expr__ ),
		Expr( __pin_expr__ ), Name Expr( pin_expr )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By using this code, when row 17 hidden/excluded, it will cause the annotations of rows 20/30 to shift to the wrong positions.&lt;/P&gt;
&lt;P&gt;Is there a way to prevent this from happening? I mean for sure I have data points to be excluded.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 01:27:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953047#M109983</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T01:27:23Z</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/953048#M109984</link>
      <description>&lt;P&gt;This works, thanks guys!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ex = dt &amp;lt;&amp;lt; Get Excluded Rows;
pin_expr = {};
For Each( {v}, dt &amp;lt;&amp;lt; Get Selected Rows,
	offset = N Rows(Loc(ex &amp;lt; v));
	coord = ms &amp;lt;&amp;lt; Get Point(v - offset);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2026 01:40:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953048#M109984</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T01:40:27Z</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/953058#M109986</link>
      <description>&lt;P&gt;I would drop the excluded rows already from selrows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;selrows = dt &amp;lt;&amp;lt; Get Rows Where(Selected() &amp;amp; !Excluded())&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2026 04:05:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953058#M109986</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-10T04:05:03Z</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/953059#M109987</link>
      <description>&lt;P&gt;Bad news if the graph builder has local data filter the index is mismatched.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to deal with&amp;nbsp; graphs with local filter active?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 04:24:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953059#M109987</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T04:24:08Z</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/953081#M109988</link>
      <description>&lt;P&gt;You can get the rows which local data filter will show by sending message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt; Get Filtered Rows;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to the local data filter&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 07:04:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953081#M109988</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-10T07:04:02Z</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/953083#M109989</link>
      <description>&lt;P&gt;Thanks for your help! I am almost there!&lt;/P&gt;
&lt;P&gt;By the way, is there a way to batch remove the annotation added by the scripts?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb &amp;lt;&amp;lt; SendToReport( Dispatch( {}, "Graph Builder", FrameBox(__which__), __pin_expr__ ) )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2026 07:46:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953083#M109989</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T07:46: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/953085#M109990</link>
      <description>&lt;P&gt;If you can get references to all of those, I think you could set &amp;lt;&amp;lt; Close or &amp;lt;&amp;lt; Delete message to the list to remove them all at the same time. You might also want to utilize &amp;lt;&amp;lt; inval before deletion and &amp;lt;&amp;lt; update window after.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 07:59:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953085#M109990</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-10T07:59: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/953090#M109991</link>
      <description>&lt;P&gt;My code is designed for an existing graph builder obtained by&amp;nbsp;gb = (Current Report() &amp;lt;&amp;lt; Find( "Graph Builder" )) &amp;lt;&amp;lt; Get Scriptable Object;&lt;BR /&gt;then I created an Eval loop as&amp;nbsp;mmarchandFSLR's way:&lt;BR /&gt;it looks like I can only get access to the gb itself, but nowhere to define the Add Pin Annotation list from the code below:&lt;BR /&gt;is there a way to read the Unique ID or something&amp;nbsp;of each one and assign &amp;lt;&amp;lt; delete to it then?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;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 ) )
				)}
			)
		)
	)
);

.....

If( N Items( pin_expr ) &amp;gt; 0,
            Eval(
                Substitute(
                        Expr(
                        gb &amp;lt;&amp;lt; SendToReport( Dispatch( {}, "Graph Builder", FrameBox(__which__), __pin_expr__ ) )
                        ),
                    Expr( __pin_expr__ ), Name Expr( pin_expr ),
                )
            )
        );
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2026 08:08:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953090#M109991</guid>
      <dc:creator>Clanlope</dc:creator>
      <dc:date>2026-06-10T08:08:22Z</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/953097#M109992</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; select rows([1, 10, 21, 30, 40]);

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(658, 556),
	Show Control Panel(0),
	Variables(X(:age), Y(:height)),
	Elements(Points(X, Y, Legend(3)))
);

pins = {};

gb &amp;lt;&amp;lt; inval;
frame = Report(gb)[FrameBox(1)];
For Each({currow}, dt &amp;lt;&amp;lt; Get Selected Rows,
	Eval(EvalExpr(
		Insert Into(pins, frame &amp;lt;&amp;lt; Add Pin Annotation(
			Seg(Marker Seg(1)),
			Index(Expr(currow - 1)),
			Index Row(Expr(currow - 1)),
			UniqueID(Expr(currow - 1))
		));		
	));
);
gb &amp;lt;&amp;lt; update window;

wait(1); // demo purposes
pins &amp;lt;&amp;lt; Delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2026 08:20:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-builder-Batch-pin-the-hover-label-for-selected-rows/m-p/953097#M109992</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-06-10T08:20:59Z</dc:date>
    </item>
  </channel>
</rss>

