<?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: ODS PDF Won't Display Proc SGPLOT Chart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142080#M5377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the following work?&lt;/P&gt;&lt;P&gt;Works fine for me &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options date nobyline nonumber orientation=landscape;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file='C:\_localdata\Dashboard.pdf' startpage = never style= BarrettsBlue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods proclabel ' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SGPLOT DATA = sashelp.stocks description="";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = high / lineattrs=(color=VIGB thickness=2) markers markerattrs=(symbol=asterisk color=VIGB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = low / lineattrs=(color=MAROON thickness=2) markers markerattrs=(symbol=circle color=MAROON);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = open / lineattrs=(color=DELG thickness=2) markers markerattrs=(symbol=triangle color=DELG);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; XAXIS TYPE = DISCRETE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 20:39:12 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-06-13T20:39:12Z</dc:date>
    <item>
      <title>ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142077#M5374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple daily dashboard I distribute via PDF and I was asked to add a chart to visualize one of the tables.&amp;nbsp; The Proc SGPLOt statement below works for me by itself, but when I wrap it in the ODS PDF statement, I get a blank page in the PDF.&amp;nbsp; When I run the SGPLOT by itself in the ODS PDF statement (i.e. getting rid of the proc print statements) I get some results, albeit they do look different on the PDF compared to being run outside of a PDF statement).&amp;nbsp; Is there anyway to get this to work?&amp;nbsp; Ideally, I would like to keep the first two tables on one page and then have one table and a chart on the second page.&amp;nbsp; I thought the conflict might be page size limitations, so I moved the SGPLOT to it's own page, with the same (blank page) results.&amp;nbsp; Any assistance is greatly appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods listing;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;goptions reset=all;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;options date nobyline nonumber orientation=landscape;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods pdf file='/filelocation/Dashboard.pdf' startpage = never style= BarrettsBlue;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;proc print data=mydata1 noobs contents=""; run;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods proclabel ' ';&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods escapechar='^';&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;proc print data=mydata2 noobs contents=""; run;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;proc print data=mydata3 noobs contents=""; run;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;PROC SGPLOT DATA = MyData3 description=""; &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; SERIES X = Week Y = Group1 / lineattrs=(color=VIGB thickness=2) markers markerattrs=(symbol=asterisk color=VIGB); &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; SERIES X = Week Y = Group2 / lineattrs=(color=MAROON thickness=2) markers markerattrs=(symbol=circle color=MAROON); &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; SERIES X = Week Y = Group3 / lineattrs=(color=DELG thickness=2) markers markerattrs=(symbol=triangle color=DELG); &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; XAXIS TYPE = DISCRETE;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;RUN; &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 19:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142077#M5374</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2014-06-13T19:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142078#M5375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you have&lt;/P&gt;&lt;P&gt;ODS GRAPHICS ON; somewhere&lt;/P&gt;&lt;P&gt;or by default?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 19:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142078#M5375</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-13T19:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142079#M5376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, do I need that for the PDF?&amp;nbsp; Even after adding that, I still get the blank page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 20:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142079#M5376</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2014-06-13T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142080#M5377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the following work?&lt;/P&gt;&lt;P&gt;Works fine for me &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options date nobyline nonumber orientation=landscape;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file='C:\_localdata\Dashboard.pdf' startpage = never style= BarrettsBlue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods proclabel ' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class noobs contents=""; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SGPLOT DATA = sashelp.stocks description="";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = high / lineattrs=(color=VIGB thickness=2) markers markerattrs=(symbol=asterisk color=VIGB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = low / lineattrs=(color=MAROON thickness=2) markers markerattrs=(symbol=circle color=MAROON);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SERIES X = date Y = open / lineattrs=(color=DELG thickness=2) markers markerattrs=(symbol=triangle color=DELG);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; XAXIS TYPE = DISCRETE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 20:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142080#M5377</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-13T20:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142081#M5378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, same thing.&amp;nbsp; I get the first two tables on one page, a 3rd table on the 2nd page and a blank page where the graph should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 20:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142081#M5378</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2014-06-13T20:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Won't Display Proc SGPLOT Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142082#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: Goptions doesn't have a lot of affect on SG procedures. ODS Graphics options would be what may need resetting.&lt;/P&gt;&lt;P&gt;Are you getting any warning or messages in the log?&lt;BR /&gt;Try setting the height and width using ODS Graphics /height=5in width=5in; or similar size in case the default is trying to use more space than the PDF display area allows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 22:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-Won-t-Display-Proc-SGPLOT-Chart/m-p/142082#M5379</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-06-13T22:39:52Z</dc:date>
    </item>
  </channel>
</rss>

