<?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: Handles in Graph Builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Handles-in-Graph-Builder/m-p/737059#M91802</link>
    <description>&lt;P&gt;This gives an example how Handle works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

exx = 3;
exy = 56;

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(897, 611),
	Variables(X(:age), Y(:height)),
	Elements(Points(X, Y, Legend(8))),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min(29.6266879535559), Max(70.912), Inc(10), Minor Ticks(1)}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Reference Line Order(3), Add Graphics Script(
				2,
				Description(""),
				Handle(
					exx,
					exy,
					exx = x;
					exy = y;
				);
				show(exx, exy);
				Circle({exx, exy}, 3);
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Mar 2024 05:24:20 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-21T05:24:20Z</dc:date>
    <item>
      <title>Handles in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Handles-in-Graph-Builder/m-p/737047#M91800</link>
      <description>&lt;P&gt;I'm trying to understand Handles, especially in Graph Builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, they don't seem to work. &amp;nbsp;But beyond that, I don't understand how they could work -- if I enter a Handle() as a script within Graph Builder's "Customize..." Customize Graph dialog, does it execute that script every time the graph is redrawn? &amp;nbsp;If so, is it creating many instances of a Handle object?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought this script attached to Big Class would give me a circle that I could drag around the plot, but it doesn't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 897, 611 ),
	Variables( X( :age ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 8 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 29.6266879535559 ), Max( 70.912 ), Inc( 10 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Reference Line Order( 3 ),
			Add Graphics Script(
				2,
				Description( "" ),
				Handle( 12, 56, Circle( {x, y}, 3 ) )
			)}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 02:41:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Handles-in-Graph-Builder/m-p/737047#M91800</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2024-03-21T02:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handles in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Handles-in-Graph-Builder/m-p/737059#M91802</link>
      <description>&lt;P&gt;This gives an example how Handle works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

exx = 3;
exy = 56;

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(897, 611),
	Variables(X(:age), Y(:height)),
	Elements(Points(X, Y, Legend(8))),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min(29.6266879535559), Max(70.912), Inc(10), Minor Ticks(1)}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Reference Line Order(3), Add Graphics Script(
				2,
				Description(""),
				Handle(
					exx,
					exy,
					exx = x;
					exy = y;
				);
				show(exx, exy);
				Circle({exx, exy}, 3);
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Mar 2024 05:24:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Handles-in-Graph-Builder/m-p/737059#M91802</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-21T05:24:20Z</dc:date>
    </item>
  </channel>
</rss>

