<?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: PROC SGPLOT Imagemap on within ODF RTF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-SGPLOT-Imagemap-on-within-ODF-RTF/m-p/165268#M12140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you explain what you mean by "imagemap" feature? It doesn't matter whether you use PROC GCHART or PROC SGPLOT. When the destination is RTF, all the images are converted to internal RTF images. If you run this code, you should see that all the images are internal to the RTF file. To see this, you have to open the RTF file with Notepad and look for the&lt;SPAN style="color: #ff00ff;"&gt;&lt;STRONG&gt; {\*\shppict{\pict\emfblip&lt;/STRONG&gt;&lt;/SPAN&gt; sections. If you run the code below and open the resulting RTF file with Notepad, you will see 2 \shppict sections -- one for each graphic image. Starting with SAS 9.2, for both procedures, the style template in use determines most of the image characteristics. However, changes to each image can be made with the appropriate methods. You can always change the style template. Also, PROC SGPLOT uses either internal statement-level syntax for making color/font/etc changes or the ODS GRAPHICS statement and PROC GCHART uses internal statement-level syntax and the GOPTIONS statement.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf file='c:\temp\two_images.rtf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '1) SGPLOT';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; vbar age / response=height stat=mean group=age;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc gchart data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '2) GCHART';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; vbar age / discrete sumvar=height type=mean&amp;nbsp; patternid=midpoint ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 16:26:34 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-12-30T16:26:34Z</dc:date>
    <item>
      <title>PROC SGPLOT Imagemap on within ODF RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-SGPLOT-Imagemap-on-within-ODF-RTF/m-p/165267#M12139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it somehow possible to maintain the "imagemap" feature into RTF output with proc sgplot? I know that word itself is not the limiting factor here since it works with proc gchart (only the graphs are ancient...).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 14:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-SGPLOT-Imagemap-on-within-ODF-RTF/m-p/165267#M12139</guid>
      <dc:creator>BobHope</dc:creator>
      <dc:date>2014-12-30T14:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Imagemap on within ODF RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-SGPLOT-Imagemap-on-within-ODF-RTF/m-p/165268#M12140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you explain what you mean by "imagemap" feature? It doesn't matter whether you use PROC GCHART or PROC SGPLOT. When the destination is RTF, all the images are converted to internal RTF images. If you run this code, you should see that all the images are internal to the RTF file. To see this, you have to open the RTF file with Notepad and look for the&lt;SPAN style="color: #ff00ff;"&gt;&lt;STRONG&gt; {\*\shppict{\pict\emfblip&lt;/STRONG&gt;&lt;/SPAN&gt; sections. If you run the code below and open the resulting RTF file with Notepad, you will see 2 \shppict sections -- one for each graphic image. Starting with SAS 9.2, for both procedures, the style template in use determines most of the image characteristics. However, changes to each image can be made with the appropriate methods. You can always change the style template. Also, PROC SGPLOT uses either internal statement-level syntax for making color/font/etc changes or the ODS GRAPHICS statement and PROC GCHART uses internal statement-level syntax and the GOPTIONS statement.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf file='c:\temp\two_images.rtf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '1) SGPLOT';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; vbar age / response=height stat=mean group=age;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc gchart data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '2) GCHART';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; vbar age / discrete sumvar=height type=mean&amp;nbsp; patternid=midpoint ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 16:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-SGPLOT-Imagemap-on-within-ODF-RTF/m-p/165268#M12140</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-12-30T16:26:34Z</dc:date>
    </item>
  </channel>
</rss>

