<?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 ODS HTML5 Tool-Tips Working in SAS EG Results Viewer Only in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML5-Tool-Tips-Working-in-SAS-EG-Results-Viewer-Only/m-p/683779#M20465</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code attached runs on my data without errors and produces an HTML file.&amp;nbsp; However, I have noticed an unusual quirk that I can only use the embedded HTML tooltips with the SAS EG results viewed, when I open the HTML file that is produced, there is no "mouse-over" tooltip for each data point as there is when I use the results viewer in EG.&amp;nbsp; I thought that the&amp;nbsp;options (bitmap_mode='inline') was supposed to take care of that.&amp;nbsp; Any insight is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%let name=.;
%let odsout=.;

data Trend1;
	set abc;
	length Trend1_html  $200;
	Trend1_html=
 		'title='||quote(trim(put(&amp;lt;date variable&amp;gt;,date7.))||': '||strip(put(Metric,comma9.0)));

run;

/******************/
/* Output to HTML */
/******************/

/************************************************************************************************/

proc template;
   define style styles.mystyle;
      parent=styles.htmlblue;
         class pagebreak /
	     display=none;         
   end;
run; 

/*ODS LISTING CLOSE;*/
ODS HTML5
style=styles.mystyle 
options (bitmap_mode='inline')
(url=none)
file="&amp;amp;name..html" 
path="&amp;amp;odsout.";

goptions gunit=pct htitle=4 htext=4 ftitle=&amp;amp;ftitle ftext=&amp;amp;ftext;
axis1 c=gray44 label=(angle=90 "Title") minor=none;

symbol1 v=dot h=4 interpol=spline w=1 color=blue;
symbol2  v=dot h=4 interpol=spline w=1 color=orange;

legend1 label=none mode=reserve position=(bottom center outside) across=2
cframe=white cborder=gray33 ;

title ls=3 c=black height=28pt "Title";

proc gplot data=Trend1;
	plot Metric*Trend=Group /
	vaxis=axis1
	haxis=axis2
	autovref cvref=graycc
	autohref chref=graycc
	legend=legend1
	noframe
	html=Trend1_html
	des='' name='Trend1';
run;

title;

proc report data = Table center;
	column ("Time Period" Group) stat, Metric ;
	define "group"n / group ' ';
	define stat / across ' ' order=data;
	define Metric / analysis sum f=comma6. ' ';
run;

ODS HTML5 CLOSE;
ODS LISTING;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 21:14:04 GMT</pubDate>
    <dc:creator>P5C768</dc:creator>
    <dc:date>2020-09-14T21:14:04Z</dc:date>
    <item>
      <title>ODS HTML5 Tool-Tips Working in SAS EG Results Viewer Only</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML5-Tool-Tips-Working-in-SAS-EG-Results-Viewer-Only/m-p/683779#M20465</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code attached runs on my data without errors and produces an HTML file.&amp;nbsp; However, I have noticed an unusual quirk that I can only use the embedded HTML tooltips with the SAS EG results viewed, when I open the HTML file that is produced, there is no "mouse-over" tooltip for each data point as there is when I use the results viewer in EG.&amp;nbsp; I thought that the&amp;nbsp;options (bitmap_mode='inline') was supposed to take care of that.&amp;nbsp; Any insight is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%let name=.;
%let odsout=.;

data Trend1;
	set abc;
	length Trend1_html  $200;
	Trend1_html=
 		'title='||quote(trim(put(&amp;lt;date variable&amp;gt;,date7.))||': '||strip(put(Metric,comma9.0)));

run;

/******************/
/* Output to HTML */
/******************/

/************************************************************************************************/

proc template;
   define style styles.mystyle;
      parent=styles.htmlblue;
         class pagebreak /
	     display=none;         
   end;
run; 

/*ODS LISTING CLOSE;*/
ODS HTML5
style=styles.mystyle 
options (bitmap_mode='inline')
(url=none)
file="&amp;amp;name..html" 
path="&amp;amp;odsout.";

goptions gunit=pct htitle=4 htext=4 ftitle=&amp;amp;ftitle ftext=&amp;amp;ftext;
axis1 c=gray44 label=(angle=90 "Title") minor=none;

symbol1 v=dot h=4 interpol=spline w=1 color=blue;
symbol2  v=dot h=4 interpol=spline w=1 color=orange;

legend1 label=none mode=reserve position=(bottom center outside) across=2
cframe=white cborder=gray33 ;

title ls=3 c=black height=28pt "Title";

proc gplot data=Trend1;
	plot Metric*Trend=Group /
	vaxis=axis1
	haxis=axis2
	autovref cvref=graycc
	autohref chref=graycc
	legend=legend1
	noframe
	html=Trend1_html
	des='' name='Trend1';
run;

title;

proc report data = Table center;
	column ("Time Period" Group) stat, Metric ;
	define "group"n / group ' ';
	define stat / across ' ' order=data;
	define Metric / analysis sum f=comma6. ' ';
run;

ODS HTML5 CLOSE;
ODS LISTING;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 21:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML5-Tool-Tips-Working-in-SAS-EG-Results-Viewer-Only/m-p/683779#M20465</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2020-09-14T21:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML5 Tool-Tips Working in SAS EG Results Viewer Only</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML5-Tool-Tips-Working-in-SAS-EG-Results-Viewer-Only/m-p/686978#M20512</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;when I open the HTML file&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Which browser are you using when you open the file ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 00:39:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-HTML5-Tool-Tips-Working-in-SAS-EG-Results-Viewer-Only/m-p/686978#M20512</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-09-27T00:39:07Z</dc:date>
    </item>
  </channel>
</rss>

