<?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: Adding a clickable URL link to an entire graph using sgrender in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247575#M8980</link>
    <description>&lt;P&gt;Thank you all for the input.&amp;nbsp;I added this line of code:&lt;/P&gt;
&lt;P&gt;drawrectangle x=0 y=0 width=100 height=100 / ANCHOR=BOTTOMLEFT display=all transparency=1 layer=back url="&amp;amp;urlLink";&lt;/P&gt;
&lt;P&gt;within my&amp;nbsp;statgraph template and it works perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 19:10:25 GMT</pubDate>
    <dc:creator>olsengf</dc:creator>
    <dc:date>2016-02-02T19:10:25Z</dc:date>
    <item>
      <title>Adding a clickable URL link to an entire graph using sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247453#M8964</link>
      <description>&lt;P&gt;I have a line graph, using proc template and statgraph, and proc sgrender. I've defined a URL variable within the data set and I have the code&amp;nbsp;url=url within my template, which allows the line on the line graph to be a clickable link. Is there anyway to make the background or white space of the graph clickable as well?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 13:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247453#M8964</guid>
      <dc:creator>olsengf</dc:creator>
      <dc:date>2016-02-02T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a clickable URL link to an entire graph using sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247460#M8965</link>
      <description>&lt;P&gt;I've never done this, but it seems like you could use the POLYGONPLOT statement to draw a rectangle that goes from&lt;/P&gt;
&lt;P&gt;(min(X), min(Y)) to (max(X), max(Y)).&amp;nbsp; Make the rectangle 100% transparent so it doesn't show up, but use the URL= option to specify the URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you plot the rectangle last within your LAYOUT OVERLAY block, then it should direct all clicks in the plot are to the specified URL.&amp;nbsp; If you plot the rectangle first, then clicks on a line could go to one URL, and clicks that do not touch a line would go elsewhere.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247460#M8965</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-02T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a clickable URL link to an entire graph using sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247461#M8966</link>
      <description>&lt;P&gt;I don't know if you can make the background clickable.&amp;nbsp; But you could probably overlay an invisible / transparent plot on top of it, and define a URL&amp;nbsp;for that.&amp;nbsp;&amp;nbsp; I've overlaid invisibile bar charts for similar reasons.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247461#M8966</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-02-02T14:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a clickable URL link to an entire graph using sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247475#M8968</link>
      <description>&lt;P&gt;The suggestion by others should&amp;nbsp;work. &amp;nbsp;However, if you want to have the entire graph to be clickable (including outside the data area), you could use an annotated transparent rectangle with a URL on the whole graph area.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247475#M8968</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-02-02T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a clickable URL link to an entire graph using sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247575#M8980</link>
      <description>&lt;P&gt;Thank you all for the input.&amp;nbsp;I added this line of code:&lt;/P&gt;
&lt;P&gt;drawrectangle x=0 y=0 width=100 height=100 / ANCHOR=BOTTOMLEFT display=all transparency=1 layer=back url="&amp;amp;urlLink";&lt;/P&gt;
&lt;P&gt;within my&amp;nbsp;statgraph template and it works perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 19:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-a-clickable-URL-link-to-an-entire-graph-using-sgrender/m-p/247575#M8980</guid>
      <dc:creator>olsengf</dc:creator>
      <dc:date>2016-02-02T19:10:25Z</dc:date>
    </item>
  </channel>
</rss>

