<?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 getMouse( ) analog in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/getMouse-analog/m-p/509599#M17336</link>
    <description>&lt;P&gt;This question is inspired by the following topic about Stored Processes &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72505"&gt;@CLE&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509172#M4320" target="_self"&gt;SAS-Stored-Processes/Sgplot-with-drill-down-links-to-another-stored-process-and-pass&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you drill down on a point on a graph by simply clicking that point? In Python GUI, getMouse( ) method can fetch&amp;nbsp;the coordinates where the user clicks the mouse in the graphics window. It would be nice, for example, to get&amp;nbsp;&amp;amp;MONTH and &amp;amp;YEAR for a stored process this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*ProcessBody;
   %stpbegin;

   title "Product Sales for &amp;amp;MONTH, &amp;amp;YEAR";
   proc print data=sales;
      where Month eq "&amp;amp;MONTH" and Year eq &amp;amp;YEAR;
      var productid product sales salesgoal;
   run;

   %stpend;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;Reference&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/input.html" target="_self"&gt;SAS Stored Processes: Input Parameters&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Nov 2018 16:41:37 GMT</pubDate>
    <dc:creator>pink_poodle</dc:creator>
    <dc:date>2018-11-01T16:41:37Z</dc:date>
    <item>
      <title>getMouse( ) analog</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/getMouse-analog/m-p/509599#M17336</link>
      <description>&lt;P&gt;This question is inspired by the following topic about Stored Processes &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72505"&gt;@CLE&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509172#M4320" target="_self"&gt;SAS-Stored-Processes/Sgplot-with-drill-down-links-to-another-stored-process-and-pass&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you drill down on a point on a graph by simply clicking that point? In Python GUI, getMouse( ) method can fetch&amp;nbsp;the coordinates where the user clicks the mouse in the graphics window. It would be nice, for example, to get&amp;nbsp;&amp;amp;MONTH and &amp;amp;YEAR for a stored process this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*ProcessBody;
   %stpbegin;

   title "Product Sales for &amp;amp;MONTH, &amp;amp;YEAR";
   proc print data=sales;
      where Month eq "&amp;amp;MONTH" and Year eq &amp;amp;YEAR;
      var productid product sales salesgoal;
   run;

   %stpend;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;Reference&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/input.html" target="_self"&gt;SAS Stored Processes: Input Parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 16:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/getMouse-analog/m-p/509599#M17336</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2018-11-01T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: getMouse( ) analog</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/getMouse-analog/m-p/509686#M17338</link>
      <description>HI: I remember an example of a stored process in the sample library, that had something like this. When you clicked on a graph, it drilled down to the data behind the graph. You might want to check the Stored Process documentation and the samples for the Stored Process Web Application. Look here: &lt;A href="https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf&lt;/A&gt; at example 2.4.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 01 Nov 2018 20:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/getMouse-analog/m-p/509686#M17338</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-11-01T20:41:51Z</dc:date>
    </item>
  </channel>
</rss>

