<?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: How to remove ODS HTML5 figure mouse-over text in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938789#M26706</link>
    <description>&lt;P&gt;Can you explain more about what you see? Is the text permanently there, or does it appear only when you put a mouse pointer into the window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the text "pops up" when your mouse enters the window, I suspect the issue is that you have the IMAGEMAP=ON option set on the ODS GRAPHICS statement. &lt;A href="https://blogs.sas.com/content/iml/2011/12/09/creating-tooltips-for-scatter-plots-with-proc-sgplot.html" target="_self"&gt;The IMAGEMAP=ON option displays "tooltips" or "hover text" in a graph&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2022/06/15/push-pop-options-ods-graphics.html" target="_self"&gt;To see the state of your ODS GRAPHICS options&lt;/A&gt;, run the following statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / show;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now look in the log. Among the options, I suspect you will see ON next to the IMAGEMAP option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Output format: STATIC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;By line:&amp;nbsp; &amp;nbsp; NOBYLINE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Antialias: ON&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Border:&amp;nbsp; &amp;nbsp; ON&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Image map: ON&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Scale:&amp;nbsp; &amp;nbsp; &amp;nbsp;ON&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;To turn off the option, submit the following at the top of your program (and make sure it isn't being set elsewhere):&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / imagemap=off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Now resubmit your PROC statement and let us know if that fixes the problem.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2024 10:11:21 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2024-08-09T10:11:21Z</dc:date>
    <item>
      <title>How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938725#M26701</link>
      <description>&lt;P&gt;Hello I am using HTML5 destination so I can use SVG for all my output graphics. However regardless if I try to copy it or save the graphic, it always includes the that mouse-over text "Box Plot...".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I go about turning off this text?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-08-08_16-45-28.PNG" style="width: 651px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99134i202C56A892C92D7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-08-08_16-45-28.PNG" alt="2024-08-08_16-45-28.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 21:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938725#M26701</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-08T21:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938730#M26702</link>
      <description>&lt;P&gt;Can you share the code including the ODS HTML5 statement used to create the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is the output from one of the statistical procedures we may have to modify the graph template the procedure uses.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 22:03:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938730#M26702</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-08-08T22:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938732#M26703</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;You are correct. This is output from the NPAR1WAY procedure. This is the code I am using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc npar1way data=mydata wilcoxon;
   class mygrp;
   var X;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 22:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938732#M26703</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-08T22:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938741#M26704</link>
      <description>I guess you  need to change the template of PROC NPAR1WAY.&lt;BR /&gt;Check &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; 's blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/07/08/add-annotation-mosaic-plot-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/07/08/add-annotation-mosaic-plot-sas.html&lt;/A&gt;</description>
      <pubDate>Fri, 09 Aug 2024 01:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938741#M26704</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-09T01:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938743#M26705</link>
      <description>&lt;P&gt;Or just overwrite the SVG file to eliminate&amp;nbsp; mouse-over text, since SVG file is just a simple text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

ods listing gpath='c:\temp' ;
ods graphics/ reset=all imagename='x' imagefmt=svg;

proc npar1way data=sashelp.class wilcoxon ;
   class sex;
   var weight;
run;


data _null_;
infile "c:\temp\x1.svg";
file  "c:\temp\want.svg";
input;
if _infile_=:'&amp;lt;desc' then delete;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Aug 2024 01:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938743#M26705</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-09T01:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938789#M26706</link>
      <description>&lt;P&gt;Can you explain more about what you see? Is the text permanently there, or does it appear only when you put a mouse pointer into the window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the text "pops up" when your mouse enters the window, I suspect the issue is that you have the IMAGEMAP=ON option set on the ODS GRAPHICS statement. &lt;A href="https://blogs.sas.com/content/iml/2011/12/09/creating-tooltips-for-scatter-plots-with-proc-sgplot.html" target="_self"&gt;The IMAGEMAP=ON option displays "tooltips" or "hover text" in a graph&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2022/06/15/push-pop-options-ods-graphics.html" target="_self"&gt;To see the state of your ODS GRAPHICS options&lt;/A&gt;, run the following statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / show;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now look in the log. Among the options, I suspect you will see ON next to the IMAGEMAP option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Output format: STATIC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;By line:&amp;nbsp; &amp;nbsp; NOBYLINE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Antialias: ON&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Border:&amp;nbsp; &amp;nbsp; ON&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Image map: ON&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Scale:&amp;nbsp; &amp;nbsp; &amp;nbsp;ON&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;To turn off the option, submit the following at the top of your program (and make sure it isn't being set elsewhere):&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / imagemap=off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Now resubmit your PROC statement and let us know if that fixes the problem.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 10:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938789#M26706</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-08-09T10:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938817#M26707</link>
      <description>&lt;P&gt;it only shows up with mouse-over. turning imagemap off does not fix the issue. I've tried several other things to no avail such as device=SVGnotip but the tooltip is very persistent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that right-clicking the graph and inspecting it reveals the information below. Based on this code, any other ideas how to disable the tooltips with html5 using svg?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;function SVG_IDX_HideTooltip( evt )&lt;/STRONG&gt;&lt;BR /&gt;{&lt;BR /&gt;SVG_IDX_tiptspan.firstChild.nodeValue = null;&lt;BR /&gt;SVG_IDX_singleTip.setAttributeNS(null, 'visibility', 'hidden');&lt;BR /&gt;}&lt;BR /&gt;&lt;STRONG&gt;function SVG_IDX_ShowTooltip( evt )&lt;/STRONG&gt;&lt;BR /&gt;{&lt;BR /&gt;SVG_IDX_GetTrueCoords( evt );&lt;BR /&gt;var targetElement = evt.target;&lt;BR /&gt;var tspanCount = targetElement.getElementsByTagName('desc').length;&lt;BR /&gt;if (tspanCount == 1) {&lt;BR /&gt;var targetTspan = targetElement.getElementsByTagName('desc').item(0);&lt;BR /&gt;if ( targetTspan) {&lt;BR /&gt;if (targetTspan.firstChild != null)&lt;BR /&gt;SVG_IDX_tiptspan.firstChild.nodeValue = targetTspan.firstChild.nodeValue; }&lt;BR /&gt;}&lt;BR /&gt;if ( '' != SVG_IDX_tiptspan.firstChild.nodeValue )&lt;BR /&gt;{&lt;BR /&gt;var outline = SVG_IDX_singleText.getBBox();&lt;BR /&gt;SVG_IDX_singleBox.setAttributeNS(null, 'transform', 'scale(' + SVG_IDX_attrScale + ',' + SVG_IDX_attrScale + ')' );&lt;BR /&gt;SVG_IDX_singleText.setAttributeNS(null, 'transform', 'scale(' + SVG_IDX_attrScale + ',' + SVG_IDX_attrScale + ')' );&lt;BR /&gt;SVG_IDX_singleTip.setAttributeNS(null, 'visibility', 'visible');&lt;BR /&gt;if (evt.clientX + ((outline.width + 8)/0.8) * SVG_IDX_attrScale &amp;gt; SVG_IDX_rightEdge) {&lt;BR /&gt;var xPos = SVG_IDX_TrueCoords.x - parseInt((outline.width + 8)*SVG_IDX_attrScale);&lt;BR /&gt;if (xPos &amp;lt; 0)&lt;BR /&gt;xPos = 0;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;var xPos = SVG_IDX_TrueCoords.x;&lt;BR /&gt;if (SVG_IDX_TrueCoords.y &amp;lt; 16) {&lt;BR /&gt;var yPos = SVG_IDX_TrueCoords.y + ((outline.height + 16)/0.8)*SVG_IDX_attrScale;&lt;BR /&gt;if (yPos &amp;gt; windowHeight)&lt;BR /&gt;yPos = SVG_IDX_TrueCoords.y - parseInt((outline.height + 8)*SVG_IDX_attrScale);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;var yPos = SVG_IDX_TrueCoords.y - parseInt((outline.height + 8)*SVG_IDX_attrScale);&lt;BR /&gt;if (Number(outline.width == 0))&lt;BR /&gt;SVG_IDX_singleBox.setAttributeNS(null, 'width', outline.width);&lt;BR /&gt;else&lt;BR /&gt;SVG_IDX_singleBox.setAttributeNS(null, 'width', outline.width + 8);&lt;BR /&gt;SVG_IDX_singleBox.setAttributeNS(null, 'height', outline.height + 8);&lt;BR /&gt;SVG_IDX_singleTip.setAttributeNS(null, 'transform', 'translate(' + xPos + ',' + yPos + ')');&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;svg xmlns="&lt;A href="http://www.w3.org/2000/svg" target="_blank"&gt;http://www.w3.org/2000/svg&lt;/A&gt;" xmlns:xlink="&lt;A href="http://www.w3.org/1999/xlink" target="_blank"&gt;http://www.w3.org/1999/xlink&lt;/A&gt;" xml:space="preserve" baseProfile="full" version="1.1" id="SVG_IDX" onload='SVG_IDX_Init("SVG_IDX")' viewBox="-1 -1 641 481" height="480" width="640"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Most Recent Ostomy Surgery Date;&amp;lt;/title&amp;gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;desc id="desc_SVG_IDX"&amp;gt;The SGPlot Procedure&amp;lt;/desc&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 17:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938817#M26707</guid>
      <dc:creator>d0gord02</dc:creator>
      <dc:date>2024-08-09T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938823#M26708</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;turning imagemap off does not fix the issue.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting. Please run the following code and tell me whether you see the mouse-over text. Also use the Insert Code icon (looks like &amp;lt;/&amp;gt;) to insert the complete log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / imagemap=off outputfmt=svg;

proc npar1way data=sashelp.cars wilcoxon ;
class Origin;
var weight;
run;

ods graphics / show;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Aug 2024 18:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938823#M26708</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-08-09T18:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938835#M26709</link>
      <description>&lt;P&gt;Yes, the mouse over text still persists even with that code. Here is what I submitted and the result.&lt;/P&gt;&lt;PRE&gt;17   ods graphics / imagemap=off outputfmt=svg;
18
19   proc npar1way data=sashelp.cars wilcoxon ;
20   class Origin;
21   var weight;
22   run;

NOTE: PROCEDURE NPAR1WAY used (Total process time):
      real time           0.96 seconds
      cpu time            0.62 seconds


23
24   ods graphics / show;

ODS Graphics Settings
---------------------
Output format:                     SVG
By line:                           NOBYLINE
Antialias:                         ON
Image map:                         OFF
Maximum Loess observations:        5000
Maximum stack depth:               1024
Stack depth:                       0
MaxObs:                            2000000
Maximum Histogram Bins:            10000
Maximum Heatmap Bins:              100000
Maximum Obs for Patterned Lines:   10000
Maximum Total Cells per BY-group:  2000&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d0gord02_0-1723234095460.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99167i44380B664F9E12D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d0gord02_0-1723234095460.png" alt="d0gord02_0-1723234095460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 20:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938835#M26709</guid>
      <dc:creator>d0gord02</dc:creator>
      <dc:date>2024-08-09T20:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938845#M26710</link>
      <description>&lt;P&gt;Strange. I don't understand how that is possible. Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have any more ideas, but out of curiosity, how are you submitting this code? SAS Studio? Enterprise Guide? And what version of SAS are you running?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 20:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938845#M26710</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-08-09T20:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938851#M26711</link>
      <description>&lt;P&gt;Pretty standard SAS 9.4 desktop software setup. My colleague (and OP)&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35964"&gt;@spirto&lt;/a&gt;&amp;nbsp;is having the same issue as I am.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d0gord02_0-1723236547812.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99171i8FBE5E0456812CE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d0gord02_0-1723236547812.png" alt="d0gord02_0-1723236547812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should note that we changed the default html version from html4 to html5 using the registry editor. not sure if that has something to do with it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d0gord02_1-1723236560173.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99172i5D7A46BE3F209A77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d0gord02_1-1723236560173.png" alt="d0gord02_1-1723236560173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 20:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938851#M26711</guid>
      <dc:creator>d0gord02</dc:creator>
      <dc:date>2024-08-09T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938853#M26712</link>
      <description>&lt;P&gt;That code produces the flyover text.&amp;nbsp; In SAS/Studio view of the HTML output it is not visible.&amp;nbsp; But if I open the generated HTML file in Chrome then it is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to find the file,&amp;nbsp;tkmgr039en.so,&amp;nbsp; in the SASEXE directory that contains that text (and other strings).&lt;/P&gt;
&lt;PRE&gt; 76         data _null_;
 77           infile sasexe('tkmgr039en.so') recfm=f lrecl=512;
 78           input;
 79           if index(_infile_,'Box Plot of Wilcoxon Scores for') ;
 80           list;
 81         run;
 
 NOTE: The infile library SASEXE is:
       (system-specific pathname), 
       (system-specific file attributes)
 
 NOTE: The infile SASEXE('tkmgr039en.so') is:
       (system-specific pathname), 
       (system-specific file attributes)
 
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                                        
 
 1611CHAR   Plot...Median Box Plot.Van der Waerden Box Plot....Savage Box Plot.Data Scores Box Plot....Siegel-T
     ZONE  2566700046666624672566705662667256676662467256670000567666246725667046762566767246725667000056666625
     NUMR  00CF4000D5491E02F800CF4061E04520715245E02F800CF4000031617502F800CF404141033F25302F800CF4000039575CD4
 
      101  ukey Box Plot...Ansari-Bradley Box Plot.Klotz Box Plot..Mood Box Plot...Conover Box Plot....EDF Plot
     ZONE  7667246725667000467676247666672467256670466772467256670046662467256670004666767246725667000044425667
     NUMR  5B5902F800CF40001E3129D2214C5902F800CF40BCF4A02F800CF400DFF402F800CF40003FEF65202F800CF4000054600CF4
 
      201  ....Cumulative Proportion...Median Plot.Group Legend....Not Above the Median....Cumulative Frequency
     ZONE  0000476766767625767677666000466666256670476772466666000046724667627662466666000047676676762476776667
     NUMR  000035D5C14965002F0F249FE000D5491E00CF4072F500C575E40000EF4012F6504850D5491E000035D5C149650625155E39
 
      301  ....Median Plot for %*s Classified by %*s...Empirical Distribution Function Plot for %*s Classified 
     ZONE  0000466666256672667222724667766666267222700046767666624677766776662476676662566726672227246677666662
     NUMR  0000D5491E00CF406F205A303C1339695402905A30005D092931C04934292549FE065E349FE00CF406F205A303C133969540
 
      401  by %*s..Box Plot of %*s Classified by %*s...Box Plot of Wilcoxon Scores for %*s Classified by %*s...
     ZONE  6722270046725667266222724667766666267222700046725667266256666766256676726672227246677666662672227000
     NUMR  2905A3002F800CF40F605A303C1339695402905A30002F800CF40F6079C3F8FE033F25306F205A303C1339695402905A3000
      501  Box Plot of 
 NOTE: 5635 records were read from the infile (system-specific pathname).
 NOTE: 5635 records were read from the infile (system-specific pathname).
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Aug 2024 21:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938853#M26712</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-08-09T21:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938854#M26713</link>
      <description>Thanks Rick for the help so far! We are running SAS 9.4M7 via the Windowing Environment and ODS HTML5 destination&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2024 21:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938854#M26713</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-09T21:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938855#M26714</link>
      <description>&lt;P&gt;Is there any way to turn off the flyover / tooltip text or no?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, it seems like a big limitation to being able to copy and paste an image from SAS output using html5 w/ svg.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 21:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938855#M26714</guid>
      <dc:creator>d0gord02</dc:creator>
      <dc:date>2024-08-09T21:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938874#M26715</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;thanks for the insights so far and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/320370"&gt;@d0gord02&lt;/a&gt;&amp;nbsp;for digging into this.&amp;nbsp; &amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;The following code will reproduce the issue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods html close;
ods html5 path="C:\mypath"(url=none) file="sas.html" options(svg_mode='embed');
proc npar1way data=sashelp.cars wilcoxon;
class origin;
var weight;
run;
ods html5 close;&lt;/PRE&gt;
&lt;P&gt;The popup text is happening when viewing the HTML5 output with the internal browser of the Results Viewer in Windowing Environment. When I right click the image to either "copy" or "save picture as" it also copies the popup text. Interestingly the popup text seems to have a mind of its own in that, at times it will disappear when I right click, at other times it will persist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the SVG source code, the popup text is captured in the following line&lt;/P&gt;
&lt;PRE&gt;&amp;lt;desc id="desc_SVG_IDX2"&amp;gt;Box Plot of Wilcoxon Scores for Weight Classified by Origin&amp;lt;/desc&amp;gt;
&amp;lt;desc&amp;gt;Box Plot of Wilcoxon Scores for Weight Classified by Origin&amp;lt;/desc&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a fallback, by embedding the SVG [via options(svg_mode="embed")] I am able to get at the individual SVG file and use it as needed without the popup text issue but it would be so much easier and faster to just be able to copy the SVG from the Results Viewer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 14:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938874#M26715</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-10T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938881#M26716</link>
      <description>&lt;P&gt;The Save picture as ... menu item works file to make a file from the image in the internal HTML viewer of SAS Display Manager in SAS 9.4m7.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not just use that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to remove the descriptions from the file that is also not hard as was already shown before.&amp;nbsp; If you use the EMBED option and what to find the name of the file it created you can scrape it from the HTML file.&lt;/P&gt;
&lt;PRE&gt;46   data _null_;
47     infile html;
48     input;
49     if index(_infile_,'embed');
50     put _infile_;
51   run;

NOTE: The infile HTML is:
      Filename=c:\downloads\svg_test.html,
      RECFM=V,LRECL=32767,File Size (bytes)=36259,
      Last Modified=10Aug2024:14:10:42,
      Create Time=10Aug2024:14:10:37

&amp;lt;embed src="WilcoxonBoxPlot3.svg" type="image/svg+xml"/&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;You can then make a copy of that file without the description tags.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "c:\downloads\WilcoxonBoxPlot3.svg" ;
  file "c:\downloads\WilcoxonBoxPlot_fixed.svg" ;
  input;
  if _infile_=:'&amp;lt;des' then delete;
  put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Aug 2024 18:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938881#M26716</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-08-10T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938882#M26717</link>
      <description>&lt;P&gt;As suggested before you could just add code to remove the description tags from the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example using your example report:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let path=c:\downloads;

ods html close;
ods html5 path="&amp;amp;path"(url=none) file="svg_test.html" ;
proc npar1way data=sashelp.cars wilcoxon;
class origin;
var weight;
run;
ods html5 close;

filename html "&amp;amp;path/svg_test.html";
filename copy temp;

data _null_;
  infile html ;
  file copy;
  input;
  if _infile_=:'&amp;lt;des' then delete;
  put _infile_;
run;

data _null_;
  infile copy ;
  file html;
  input;
  put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Aug 2024 18:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938882#M26717</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-08-10T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938892#M26718</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;Ah yes you are correct! Thank you for highlighting this. When I use the &lt;STRONG&gt;Save picture as&lt;/STRONG&gt;... option it saves the SVG &lt;STRONG&gt;without&lt;/STRONG&gt; the pop-op text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is perplexing me is that when I try to&amp;nbsp;&lt;STRONG&gt;copy &lt;/STRONG&gt;the SVG (from the Results Viewer), and paste it to a word document, it &lt;STRONG&gt;also&lt;/STRONG&gt; copies over that pop-up text.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="perplexed.png" style="width: 853px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99176iBE957FFB17420C45/image-dimensions/853x414?v=v2" width="853" height="414" role="button" title="perplexed.png" alt="perplexed.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 22:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/938892#M26718</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-10T22:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/939016#M26719</link>
      <description>&lt;P&gt;I think the following is happening:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, the pop-up description text is not coming from the SVG output, per se -- it's coming from a javascript function in the HTML file that reads the description from the SVG output and displays it. When you "save the picture" from the results viewer, you are getting only the SVG output without the javascript functions. However, when you "copy" the inline SVG output, you are probably getting the entire HTML output, including the functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I addition to getting the individual SVG files by using embedding, you can also get them by just generating ODS LISTING output and setting OUTPUTFMT=SVG on the ODS GRAPHICS statement.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 20:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/939016#M26719</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-08-12T20:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ODS HTML5 figure mouse-over text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/939138#M26723</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;Thanks for the Javascript clue! That led me to determine the root cause of the behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turns out the pop-up text is driven by two embedded Javascript &lt;EM&gt;addEventListener&lt;/EM&gt; methods (&lt;STRONG&gt;within&lt;/STRONG&gt; the SVG code itself) that create and hide the tooltip. Here are the methods below. You can see there is one when you move the mouse into the SVG ('mousemove') and one when you 'mouseout' of the SVG. In return these two methods execute the ShowTooltip and HideTooltip functions when the respective events occur.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SVG_IDX2_SVGRoot.addEventListener('mousemove', SVG_IDX2_ShowTooltip, false);
SVG_IDX2_SVGRoot.addEventListener('mouseout', SVG_IDX2_HideTooltip, false);&lt;/PRE&gt;
&lt;P&gt;To prevent the tooltip from showing up when right clicking to copying the image all one needs to do is add a single line of code to add an additional listener method that listens for the 'contextmenu' event. When you right click to bring up the contextmenu, the method will execute the HideTooltip function and&amp;nbsp;&lt;SPAN&gt;Voilà the pop up disappears.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SVG_IDX2_SVGRoot.addEventListener('contextmenu', SVG_IDX2_HideTooltip, false);&lt;/PRE&gt;
&lt;P&gt;Doing everything this way allows you to have your cake (display the pop-up) and eat it (temporarily hide it when copying) too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;- Curious if this is something we can pass along to the SAS ODS developers. They may be interested in making a HotFix. I have no idea how to contact SAS and make this suggestion.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly thank you to all who took this journey with us. Definitely a rabbit hole!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-remove-ODS-HTML5-figure-mouse-over-text/m-p/939138#M26723</guid>
      <dc:creator>spirto</dc:creator>
      <dc:date>2024-08-13T20:35:51Z</dc:date>
    </item>
  </channel>
</rss>

