<?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: ODS HTML and Tool Tips in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454763#M20842</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Just for my information, why does specifying html=last not work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable LAST does not contain HTML code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Minor correction to my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;text=cat("title='",last,' ',substr(first,1,1),"'");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 14:34:52 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-04-17T14:34:52Z</dc:date>
    <item>
      <title>ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454742#M20838</link>
      <description>&lt;P&gt;I have a data set with 152 observations. Each obs is a lab result and there are about 40 unique patients in the data set. Obviously some will have more results than other. The goal is to monitor the fluctuation of their results over time. What I want to do is be able to have the output in an HTML&amp;nbsp; format so that I can use Tool Tips to identify the name of the patient when looking at outliers and drastic increases. The variable that I want to show when I hover the cursor over the graph is named "last" as in last name. The code thus far, which produces the graph I want in attached, Now i just need to add the Tool Tip Boxes. Please Help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
options orientation=landscape;
ods html path="c:\users\rgclevenger\desktop" (url=none) file="test.html"  ;
ods graphics on;

proc gplot data=work.graph ;
				plot results*diff=first / grid nolegend;
				by discharged ;
				
				
			run;

ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The data will look something like:&lt;/P&gt;&lt;P&gt;Last&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;First&amp;nbsp; &amp;nbsp; &amp;nbsp;diff&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;results&amp;nbsp; &amp;nbsp; &amp;nbsp; discharged&lt;/P&gt;&lt;P&gt;smith&amp;nbsp; &amp;nbsp; &amp;nbsp;Jack&amp;nbsp; &amp;nbsp; &amp;nbsp;3 month&amp;nbsp; 10008&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enrolled&lt;/P&gt;&lt;P&gt;smith&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Jack&amp;nbsp; &amp;nbsp; &amp;nbsp;6 month&amp;nbsp; 204&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enrolled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;smith&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Jack&amp;nbsp; &amp;nbsp; &amp;nbsp;9 month&amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enrolled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;doe&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;John&amp;nbsp; &amp;nbsp; &amp;nbsp;3 month&amp;nbsp; 270000&amp;nbsp; &amp;nbsp; &amp;nbsp; Discharged&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;doe&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;John&amp;nbsp; &amp;nbsp; &amp;nbsp;6 month&amp;nbsp; 782&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Discharged&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What Could it take to have the Last name pop up as tool tip text?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What would it take to have the First Initial and last name&amp;nbsp; as tool tip text?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454742#M20838</guid>
      <dc:creator>rcleven2</dc:creator>
      <dc:date>2018-04-17T13:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454749#M20839</link>
      <description>&lt;P&gt;In&amp;nbsp;the data step that creates work.graph, you need to create a character variable that has the desired HTML code, lets call this variable name simple TEXT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;text=cat("title='",last,' ',substr(first,1,1),'");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then in your PROC GPLOT you need to modify the PLOT statement to be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;plot results*diff=first / grid nolegend html=text;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454749#M20839</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-17T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454753#M20840</link>
      <description>&lt;P&gt;Just for my information, why does specifying html=last not work? If the Variable is character and already exists wouldn't it produce the same thing?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454753#M20840</guid>
      <dc:creator>rcleven2</dc:creator>
      <dc:date>2018-04-17T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454763#M20842</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Just for my information, why does specifying html=last not work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable LAST does not contain HTML code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Minor correction to my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;text=cat("title='",last,' ',substr(first,1,1),"'");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454763#M20842</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-17T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454764#M20843</link>
      <description>&lt;P&gt;ALSO... I definitely was able to create a variable with exactly what I could like to appear but it is no different when I specify that Variable or another other Variable in the HTML= option. Nothing is appearing in the graph area as tool tip text. There must me something else that I am not doing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:27:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/454764#M20843</guid>
      <dc:creator>rcleven2</dc:creator>
      <dc:date>2018-04-17T14:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and Tool Tips</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/456837#M20883</link>
      <description>&lt;P&gt;So, I found out that the way to plot ALL patients while providing a different colors for specific groups of patients is to use a spaghetti plot using the series x= y= / group= grouplc= grouplp= name= smoothconnect= tip=(&amp;nbsp; ) statement in a proc sgplot. The tip= option provides the tool tip text that I want given the the statement "ods graphics / imagemap = on" is above the procedure statement.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-Tool-Tips/m-p/456837#M20883</guid>
      <dc:creator>rcleven2</dc:creator>
      <dc:date>2018-04-24T12:19:47Z</dc:date>
    </item>
  </channel>
</rss>

