<?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 disable the procedure title display in .svg output in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926079#M24568</link>
    <description>&lt;P&gt;Those elements are the DESCRIPTION of the image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least with PROC SGPLOT you can control that yourself.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars description='sashelp.cars';
  vbar type;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Apr 2024 18:17:58 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2024-04-26T18:17:58Z</dc:date>
    <item>
      <title>how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925704#M24554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to disable procedure title 'The SG Render Procedure' by using ODS NO PROCTITLE ; while generating .svg graph, this is not working, not sure where this is going wrong. can you please help. Thanks!&lt;/P&gt;&lt;P&gt;Here is the output image and code:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output_image.png" style="width: 850px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95849i175115E5978CB593/image-size/large?v=v2&amp;amp;px=999" role="button" title="output_image.png" alt="output_image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods NOPROCTITLE ;&lt;BR /&gt;ods html gpath="&amp;amp;figout" style=groupstyle image_dpi=300 ;&lt;/P&gt;&lt;P&gt;filename image1 "&amp;amp;figout/%sysfunc(tranwrd(&amp;amp;tlfname,-,_)).svg" ;&lt;BR /&gt;ods graphics on/ reset = index imagename="%sysfunc(tranwrd(&amp;amp;tlfname,-,_))" imagefmt=svg ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgrender data=final template=swimmer;&lt;BR /&gt;dynamic bartype="&amp;amp;bartype";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods html close;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925704#M24554</guid>
      <dc:creator>vijnad</dc:creator>
      <dc:date>2024-04-25T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925728#M24555</link>
      <description>&lt;P&gt;Do you have &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0zp1mg0ard2dan17sohm8jb773n.htm" target="_self"&gt;an ENTRYTITLE statement&lt;/A&gt; in your "Swimmer" template? This allows you to control the title for the graph as it is rendered in SGRENDER.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 12:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925728#M24555</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-04-25T12:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925742#M24556</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Yes I had used the entry title statement with the title of graph in template as below. Please suggest if any option in entrytitle statement that disables the procedure title 'The SG Render Procedure'. It's still coming up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define statgraph swimmer;&lt;BR /&gt;dynamic bartype;&lt;BR /&gt;begingraph/designwidth=9in designheight=5.15in border=false;&lt;BR /&gt;entrytitle "Swimmer Plot"/textattrs=(family="Courier New" size=10pt weight=bold);&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 13:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925742#M24556</guid>
      <dc:creator>vijnad</dc:creator>
      <dc:date>2024-04-25T13:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925763#M24557</link>
      <description>&lt;P&gt;I see. Try using the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatug/p1ctwxqplmutpfn1jdw3jznqjrmx.htm" target="_self"&gt;OBJECTLABEL statement&lt;/A&gt;&amp;nbsp;as well, and see if that overrides the default.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 14:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925763#M24557</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-04-25T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925869#M24558</link>
      <description>Thanks so much for your reply! Specifically, I am facing this issue with .SVG files. when I am generating .SVG images, the procedure 'The SG Render Procedure' is showing with every mouse click. I had tried with other procedures and same issue with .SVG files. Please suggest</description>
      <pubDate>Thu, 25 Apr 2024 19:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/925869#M24558</guid>
      <dc:creator>vijnad</dc:creator>
      <dc:date>2024-04-25T19:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926055#M24563</link>
      <description>&lt;P&gt;Thank you so much Chris Hemedinger for your suggestions! I have tried all your recommends, still procedure title is showing on the image of .svg file. I have to create many .svg images and please advise if any that probably removes procedure title from .svg files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 15:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926055#M24563</guid>
      <dc:creator>vijnad</dc:creator>
      <dc:date>2024-04-26T15:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926061#M24564</link>
      <description>Can you post a small fully reproducible example so we can test?</description>
      <pubDate>Fri, 26 Apr 2024 15:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926061#M24564</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-04-26T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926074#M24565</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/465517"&gt;@vijnad&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all else fails, you can at least avoid the occurrence of the text "The SGRender Procedure" anywhere in the graph by post-processing the SVG file (which is a text file luckily). In the example below I &lt;EM&gt;remove&lt;/EM&gt; the text in a new SVG file named with the suffix "&lt;FONT face="courier new,courier"&gt;_clean&lt;/FONT&gt;", but you can &lt;EM&gt;replace&lt;/EM&gt; the text by something more descriptive in the third argument of the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n101a8jch5trh0n1bc5neq48hc89.htm" target="_blank" rel="noopener"&gt;TRANSTRN function&lt;/A&gt; as well.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
infile "&amp;amp;figout/%sysfunc(tranwrd(&amp;amp;tlfname,-,_)).svg";
file "&amp;amp;figout/%sysfunc(tranwrd(&amp;amp;tlfname,-,_))_clean.svg";
input;
_infile_=transtrn(_infile_,'The SGRender Procedure',trimn(''));
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If this still leaves unwanted elements in the graph (it did not in my tests), you can remove the corresponding SVG code by adding similar calls to the TRANSTRN function with a different second argument.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 17:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926074#M24565</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-04-26T17:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926075#M24566</link>
      <description>&lt;P&gt;What happens if you set DESCRIPTION=" " on the SGRENDER procedure statement?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 17:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926075#M24566</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2024-04-26T17:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926076#M24567</link>
      <description>&lt;P&gt;Thanks so much FreelanReinh! This solution worked perfect!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 17:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926076#M24567</guid>
      <dc:creator>vijnad</dc:creator>
      <dc:date>2024-04-26T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable the procedure title display in .svg output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926079#M24568</link>
      <description>&lt;P&gt;Those elements are the DESCRIPTION of the image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least with PROC SGPLOT you can control that yourself.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars description='sashelp.cars';
  vbar type;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Apr 2024 18:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-disable-the-procedure-title-display-in-svg-output/m-p/926079#M24568</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-04-26T18:17:58Z</dc:date>
    </item>
  </channel>
</rss>

