<?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: Clickable Links in Graph Builder which Opens Website/ Image or Directory in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62167#M33495</link>
    <description>&lt;P&gt;really good and I'm looking forward to JMP v15 already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one addition to my question. Is there a way that it could not open the links when you click on a row in the data table itself? This could be slightly annoying if I'm still continuing to analyse the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, brilliant solution.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jul 2018 08:46:28 GMT</pubDate>
    <dc:creator>d_barnett</dc:creator>
    <dc:date>2018-07-04T08:46:28Z</dc:date>
    <item>
      <title>Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62106#M33458</link>
      <description>&lt;P&gt;I have created a data table and used the EventHandler function to make one of the columns hyperlink to a website when clicked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do now is to put this data into Graph Builder and when the points are clicked they open the website pertaining to the row. Is this possible? I have used the column as a label, but this doesn't work as it isn't clickable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a small example table where it shows the data table and graph side by side and where the cloumn is labelled - it is this label in the graph I'd like to be hyperlinked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 636px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11372iA9942373834753FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 12:51:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62106#M33458</guid>
      <dc:creator>d_barnett</dc:creator>
      <dc:date>2018-07-03T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62120#M33466</link>
      <description>&lt;P&gt;Here is an example script that uses Make Row State Handler to do what you want.&amp;nbsp; It does not require your&amp;nbsp; Event Handler, so I remove it.&amp;nbsp; I can be left in if you want it, but it is not required.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = New Table( "click and Link",
	Add Rows( 5 ),
	New Script(
		"where vs. Position",
		Graph Builder(
			Size( 522, 454 ),
			Show Control Panel( 0 ),
			Variables( X( :Position ), Y( :where ) ),
			Elements( Points( X, Y, Legend( 3 ) ) )
		)
	),
	New Column( "Position",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5] ),
		Set Display Width( 56 )
	),
	New Column( "where",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [5, 4, 3, 2, 1] ),
		Set Display Width( 48 )
	),
	New Column( "Link",
		Character,
		"Nominal",
		Set Selected,
		Set Values(
			{"https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States",
			"https://www.bbc.co.uk/home/five/beta", "https://www.linkedin.com/feed/",
			"https://www.marketwatch.com/story/10-things-britain-does-better-than-america-2016-04-06",
			"http://www.astonmartin.com/en/configure"}
		),
		Set Display Width( 430 )
	),
	Set Label Columns( :Link )
);


f = Function( {a},
	Show( dt );
	If( N Rows( dt &amp;lt;&amp;lt; get selected rows ) &amp;gt; 0,
		Web( Char( dt:link[((dt &amp;lt;&amp;lt; get selected rows)[1])] ) )
	);
);
rs = dt &amp;lt;&amp;lt; make rowstate handler( f );

Graph Builder(
	Size( 522, 454 ),
	Show Control Panel( 0 ),
	Variables( X( :Position ), Y( :where ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This could also be done by adding a graphics script to the frame box() in the chart.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb = Graph Builder(
	Size( 522, 454 ),
	Show Control Panel( 0 ),
	Variables( X( :Position ), Y( :where ) ),
	Elements( Points( X, Y, Legend( 6 ) ) )
);

Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; add graphics script(
	If( N Rows( dt &amp;lt;&amp;lt; get selected rows ) &amp;gt; 0,
		Web( Char( dt:link[((dt &amp;lt;&amp;lt; get selected rows)[1])] ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jul 2018 15:03:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62120#M33466</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-07-03T15:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62130#M33471</link>
      <description>&lt;P&gt;Keep an eye out for JMP 15.0 early adopter. Just saying. ;)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:05:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62130#M33471</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2018-07-03T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62167#M33495</link>
      <description>&lt;P&gt;really good and I'm looking forward to JMP v15 already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one addition to my question. Is there a way that it could not open the links when you click on a row in the data table itself? This could be slightly annoying if I'm still continuing to analyse the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, brilliant solution.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:46:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/62167#M33495</guid>
      <dc:creator>d_barnett</dc:creator>
      <dc:date>2018-07-04T08:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/237444#M46888</link>
      <description>&lt;P&gt;Try opening your table in JMP 15.0 and creating a scatter or any other visualization in Graph Builder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value for the "Link" column will show as a hyperlink in the hover label automatically - click on it to launch the corresponding web page.&lt;/P&gt;
&lt;P&gt;You also have the option of not having an expression handler in the data table column (to avoid the issue you described) and have the launching behavior only in the Graph Builder hover labels by taking advantage of a new JMP 15 feature called Gridlets. You could even build the URL on-the-fly based on other column values.&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="default_link.jpg" style="width: 869px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20527iFAEBB6C36BAE2C5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="default_link.jpg" alt="default_link.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details, please &lt;SPAN&gt;check&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.jmp.com/content/dam/jmp/documents/en/support/jmp15/using-jmp.pdf" target="_blank" rel="noopener noopener noreferrer"&gt;https://www.jmp.com/content/dam/jmp/documents/en/support/jmp15/using-jmp.pdf&lt;/A&gt;&lt;SPAN&gt;, page 532.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 14:24:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/237444#M46888</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2019-12-05T14:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/594000#M79789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687" target="_blank" rel="noopener"&gt;txnelson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know how to Remove an Event Handler from a column using JSL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neither&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:Column_with_EventHandler &amp;lt;&amp;lt; Remove Event Handler;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;nor&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:Column_with_EventHandler &amp;lt;&amp;lt; Delete Event Handler;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;seem to work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;Valerio&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 13:33:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/594000#M79789</guid>
      <dc:creator>Valerio</dc:creator>
      <dc:date>2023-01-27T13:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clickable Links in Graph Builder which Opens Website/ Image or Directory</title>
      <link>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/594061#M79795</link>
      <description>&lt;P&gt;The Event Handler is a Column Property, just like Value Labels, or Spec Limits.&amp;nbsp; You delete them using&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:Column)with_EventHandler &amp;lt;&amp;lt; delete property("event handler");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jan 2023 14:21:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clickable-Links-in-Graph-Builder-which-Opens-Website-Image-or/m-p/594061#M79795</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-01-27T14:21:38Z</dc:date>
    </item>
  </channel>
</rss>

