<?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 Add Pin Annotation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-Pin-Annotation/m-p/19206#M17511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;having to solve an issue whit adding &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Add Pin Annotation&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;how to add a pin annotation to a script for &lt;SPAN style="text-decoration: underline;"&gt;graph builder&lt;/SPAN&gt;?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;X is working week. The pin should only be visible on latest week data&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Y is 4 parameters but I only want the PIN annotation for 1 of them&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found following script in the help section bit it doesn't help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;/P&gt;&lt;P&gt;//This message applies to all display box objects&lt;/P&gt;&lt;P&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;Bivariate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Y( :weight ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; X( :height ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; SendToReport(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Bivar Plot",&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameBox,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add Pin Annotation(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Seg( Marker Seg( 1 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Index( 17 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; UniqueID( 251970065 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; FoundPt( {276, 112} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Origin( {64.9765625, 142} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Offset( {-174, -40} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tag Line,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Font( "Helvetica", 11, "Plain" )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Lionel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2016 02:35:52 GMT</pubDate>
    <dc:creator>KinKame</dc:creator>
    <dc:date>2016-06-27T02:35:52Z</dc:date>
    <item>
      <title>Add Pin Annotation</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Pin-Annotation/m-p/19206#M17511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;having to solve an issue whit adding &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Add Pin Annotation&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;how to add a pin annotation to a script for &lt;SPAN style="text-decoration: underline;"&gt;graph builder&lt;/SPAN&gt;?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;X is working week. The pin should only be visible on latest week data&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Y is 4 parameters but I only want the PIN annotation for 1 of them&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found following script in the help section bit it doesn't help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;/P&gt;&lt;P&gt;//This message applies to all display box objects&lt;/P&gt;&lt;P&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;Bivariate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Y( :weight ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; X( :height ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; SendToReport(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Bivar Plot",&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameBox,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add Pin Annotation(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Seg( Marker Seg( 1 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Index( 17 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; UniqueID( 251970065 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; FoundPt( {276, 112} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Origin( {64.9765625, 142} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Offset( {-174, -40} ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tag Line,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Font( "Helvetica", 11, "Plain" )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Lionel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 02:35:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Pin-Annotation/m-p/19206#M17511</guid>
      <dc:creator>KinKame</dc:creator>
      <dc:date>2016-06-27T02:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add Pin Annotation</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Pin-Annotation/m-p/192380#M41145</link>
      <description>&lt;P&gt;I'm trying to do something similar. First of all, you can see the performance of the Add Pin Annotation by doing it manually, and then look at the script. The Scripting Index is missing UniqueID() argument. Apparently you can put in any number, like UniqueID(1)? My saved script from the graph has UniqueID like "859424637" but any number may work. I will see if they can fix that in JMP15EA. I am using JMP14.2.&lt;/P&gt;&lt;P&gt;Also another note: The Index and Index Row start counting from 0, not 1. So in the Scripting Index example, Index(17) is Leslie, which is Row 18, not Row 17. If you pin annotation on Row 1, Katie, it will show Index( 0 ).&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 );
//This message applies to all display box objects
Open( "$SAMPLE_DATA/Big Class.jmp" );
Bivariate(
	Y( :weight ),
	X( :height ),
	SendToReport(
		Dispatch(
			{},
			"Bivar Plot",
			FrameBox,
			Add Pin Annotation(
				Seg( Marker Seg( 1 ) ),
				Index( 17 ),
				Index Row( 17 ),
				UniqueId( 1 ), // this is missing in Scripting Guide
				Origin( {64.9765625, 142} ),
				Offset( {-174, -40} ),
				Tag Line,
				Font( "Helvetica", 11, "Plain" )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:57:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Pin-Annotation/m-p/192380#M41145</guid>
      <dc:creator>Vball247</dc:creator>
      <dc:date>2019-04-09T16:57:09Z</dc:date>
    </item>
  </channel>
</rss>

