<?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 to suppress the plot description in html drill down graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194287#M7190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using gplot to produce a drill down scatter plot (in a stored process). I want to suppress the default plot description that appears with the 'html=' option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using noaltdesc option but that doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I am using the 'alt=' option to display a tool tip for each dot on the graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input dataset has a structure like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data outdata;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; set indata; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length DrillDown_link $400 ; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown_&lt;/SPAN&gt;&lt;SPAN&gt;_link= ' target='||quote('_self')||' href='||&amp;nbsp; quote('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mywebserver/do?_action=execute,nobanner&amp;amp;_program=mystoredprocess"&gt;http://mywebserver/do?_action=execute,nobanner&amp;amp;_program=mystoredprocess&lt;/A&gt;&lt;SPAN&gt;' ) ||' alt='||quote(compress(trim(Name)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The plot code is similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;goptions device=png noaltdesc;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;outdata&lt;/SPAN&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; &lt;/P&gt;&lt;P&gt;plot var1*var2 /&lt;/P&gt;&lt;P&gt;html= &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown&lt;/SPAN&gt;_link &lt;/P&gt;&lt;P&gt;/*description='&amp;nbsp; '*/&lt;/P&gt;&lt;P&gt;/*description='Graph of mean absolute total difference on all seed scripts to date';*/ &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The code works fine in giving me the drill down and the alt as I want it. However&lt;/SPAN&gt; it still shows the text 'target=' when mouse is hovered on the graph (please see the attached image). I have tried suppressing the description (by using noaltdesc) and also tried to give a blank description (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;description='&amp;nbsp; ') but have not been able to resolve it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to completely suppress the description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11820i8E625F3C7755CBBC/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SASgraph.png" title="SASgraph.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 17:18:21 GMT</pubDate>
    <dc:creator>VD</dc:creator>
    <dc:date>2015-05-27T17:18:21Z</dc:date>
    <item>
      <title>How to suppress the plot description in html drill down graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194287#M7190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using gplot to produce a drill down scatter plot (in a stored process). I want to suppress the default plot description that appears with the 'html=' option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using noaltdesc option but that doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I am using the 'alt=' option to display a tool tip for each dot on the graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input dataset has a structure like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data outdata;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; set indata; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length DrillDown_link $400 ; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown_&lt;/SPAN&gt;&lt;SPAN&gt;_link= ' target='||quote('_self')||' href='||&amp;nbsp; quote('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mywebserver/do?_action=execute,nobanner&amp;amp;_program=mystoredprocess"&gt;http://mywebserver/do?_action=execute,nobanner&amp;amp;_program=mystoredprocess&lt;/A&gt;&lt;SPAN&gt;' ) ||' alt='||quote(compress(trim(Name)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The plot code is similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;goptions device=png noaltdesc;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;outdata&lt;/SPAN&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; &lt;/P&gt;&lt;P&gt;plot var1*var2 /&lt;/P&gt;&lt;P&gt;html= &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown&lt;/SPAN&gt;_link &lt;/P&gt;&lt;P&gt;/*description='&amp;nbsp; '*/&lt;/P&gt;&lt;P&gt;/*description='Graph of mean absolute total difference on all seed scripts to date';*/ &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The code works fine in giving me the drill down and the alt as I want it. However&lt;/SPAN&gt; it still shows the text 'target=' when mouse is hovered on the graph (please see the attached image). I have tried suppressing the description (by using noaltdesc) and also tried to give a blank description (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;description='&amp;nbsp; ') but have not been able to resolve it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to completely suppress the description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11820i8E625F3C7755CBBC/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SASgraph.png" title="SASgraph.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 17:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194287#M7190</guid>
      <dc:creator>VD</dc:creator>
      <dc:date>2015-05-27T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress the plot description in html drill down graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194288#M7191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to suppress it by using the noaltdesc option, or des= option. I usually just give des= a value of two single-quotes, with no space between ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=foo;&lt;/P&gt;&lt;P&gt;plot y*x / des='';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work, I guess we'll have to get into more specifics, such as ...&lt;/P&gt;&lt;P&gt;Which device are you using? (hopefully png, and not activex/actximg or java/javaimg, which are the defaults for stored processes, I think)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Which version of SAS are you using? (hopefully something recent - I see an old defect which indicates a problem in this area, fixed in 9.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;And could you post your stored process code (minus any bits that are proprietary) so we can see how you're coding everything?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;(note that I don't have access to a stored process server at the moment, so I'm just going by memory)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 17:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194288#M7191</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-05-27T17:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress the plot description in html drill down graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194289#M7192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;noaltdesc option and des= with single as well double quotes - with and without spaces but it doesn't work. The best I could achieve was using single quotes wrapped inside double quotes - without any spaces (des="''"). It gives two single quotes in the output (please see the attached image). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It'd be tricky to post the stored process code - it's very lengthy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using png device and EG 6.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I don't get this problem when I run the stored process on its own in a web browser. The problem arises only when the stored process is run in the Web Report Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10640" alt="SASg1.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10640_SASg1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194289#M7192</guid>
      <dc:creator>VD</dc:creator>
      <dc:date>2015-05-28T10:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress the plot description in html drill down graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194290#M7193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you certain it's running as device=png?&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;By default stored processes running on a Unix server use device=javaimg by default, and PC servers use device=actximg by default (I think).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to do something like this in the stored process to override the default (but I'm very uncertain when it comes to setting it up from EG or WRS)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let _GOPT_DEVICE=png;&lt;/P&gt;&lt;P&gt; %let _ODSOPTIONS=gtitle gfootnote style=sasweb;&lt;/P&gt;&lt;P&gt; %stpbegin;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 20:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-suppress-the-plot-description-in-html-drill-down-graph/m-p/194290#M7193</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-06-23T20:00:09Z</dc:date>
    </item>
  </channel>
</rss>

