<?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 How can data in graph popup be captured/written to dataset? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-can-data-in-graph-popup-be-captured-written-to-dataset/m-p/207559#M7751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;/** Our analysts used to use ECO / Proc Insight to display a graph to detect outliers (comparing previous and current data values). Once the graph was visible, the user would click on outliers and the ID for the point(s) would display and remain displayed. The user would take a screen shot and follow up on the outliers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;We are switching from ECO to EG and this code plots a graph with hover over functionality. But once the user moves the cursor off the outlier point, the info disappears. Ideally it would be more efficient if the user could hover over a point or click on it, and the ID would be written to a file / dataset to reduce transcription error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Ideas / suggestions welcome&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;**/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data myClass;&lt;BR /&gt; set sashelp.class;&lt;BR /&gt; AltText = ' alt=' || quote('Name: ' || put(Name, $10.)&amp;nbsp; );&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;goptions reset=all &lt;BR /&gt;device=actximg&lt;BR /&gt;border;&lt;BR /&gt;axis1 label = ('height');&lt;BR /&gt;axis2 label = ('weight');&lt;/P&gt;&lt;P&gt;title "Study of Height vs Weight";&lt;BR /&gt;footnote1 j=l "Source: T. Lewis &amp;amp; L. R. Taylor";&lt;BR /&gt;footnote2 j=l "Introduction to Experimental Ecology";&lt;/P&gt;&lt;P&gt;proc gplot data=myClass;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plot height*weight /vaxis=axis2 haxis=axis1 html=AltText ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;footnote1; /* this clears footnote1 and footnote2 */&lt;BR /&gt;symbol1 interpol=rcclm95&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=circle&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv=darkred&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ci=black&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; co=blue&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plot height*weight / haxis=45 to 155 by 10&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vaxis=48 to 78 by 6&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hminor=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regeqn;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 01:22:48 GMT</pubDate>
    <dc:creator>ShirleyInChchNZ</dc:creator>
    <dc:date>2015-03-23T01:22:48Z</dc:date>
    <item>
      <title>How can data in graph popup be captured/written to dataset?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-data-in-graph-popup-be-captured-written-to-dataset/m-p/207559#M7751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;/** Our analysts used to use ECO / Proc Insight to display a graph to detect outliers (comparing previous and current data values). Once the graph was visible, the user would click on outliers and the ID for the point(s) would display and remain displayed. The user would take a screen shot and follow up on the outliers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;We are switching from ECO to EG and this code plots a graph with hover over functionality. But once the user moves the cursor off the outlier point, the info disappears. Ideally it would be more efficient if the user could hover over a point or click on it, and the ID would be written to a file / dataset to reduce transcription error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Ideas / suggestions welcome&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;**/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data myClass;&lt;BR /&gt; set sashelp.class;&lt;BR /&gt; AltText = ' alt=' || quote('Name: ' || put(Name, $10.)&amp;nbsp; );&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;goptions reset=all &lt;BR /&gt;device=actximg&lt;BR /&gt;border;&lt;BR /&gt;axis1 label = ('height');&lt;BR /&gt;axis2 label = ('weight');&lt;/P&gt;&lt;P&gt;title "Study of Height vs Weight";&lt;BR /&gt;footnote1 j=l "Source: T. Lewis &amp;amp; L. R. Taylor";&lt;BR /&gt;footnote2 j=l "Introduction to Experimental Ecology";&lt;/P&gt;&lt;P&gt;proc gplot data=myClass;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plot height*weight /vaxis=axis2 haxis=axis1 html=AltText ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;footnote1; /* this clears footnote1 and footnote2 */&lt;BR /&gt;symbol1 interpol=rcclm95&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=circle&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv=darkred&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ci=black&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; co=blue&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plot height*weight / haxis=45 to 155 by 10&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vaxis=48 to 78 by 6&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hminor=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regeqn;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 01:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-data-in-graph-popup-be-captured-written-to-dataset/m-p/207559#M7751</guid>
      <dc:creator>ShirleyInChchNZ</dc:creator>
      <dc:date>2015-03-23T01:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can data in graph popup be captured/written to dataset?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-data-in-graph-popup-be-captured-written-to-dataset/m-p/207560#M7752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have found something that mostly gets the job done in &lt;A _jive_internal="true" href="https://communities.sas.com/message/108580#108580"&gt;https://communities.sas.com/message/108580#108580&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data foo; set sashelp.class;&lt;BR /&gt;if height&amp;gt;=67 then outlier_text=trim(left(height));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 value=dot interpol=none pointlabel=("#outlier_text");&lt;/P&gt;&lt;P&gt;proc gplot data=foo;&lt;BR /&gt;plot height*weight;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has been used as a basis for a macro that can be called by different users, to determine outliers. The user can supply a rule, will see two graphs (one with all points, one with 'rule-breakers' labelled), and will get a dataset and/or xlsx&amp;nbsp; with the outliers for further processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 23:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-data-in-graph-popup-be-captured-written-to-dataset/m-p/207560#M7752</guid>
      <dc:creator>ShirleyInChchNZ</dc:creator>
      <dc:date>2015-05-27T23:00:07Z</dc:date>
    </item>
  </channel>
</rss>

