<?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: Graph Template Language and Output using ODS Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420819#M20020</link>
    <description>&lt;P&gt;Yes, I&amp;nbsp;think this issue&amp;nbsp;might be related to outputting to excel. When using ods graphics to define the image size, rather than defining the designheight and designwidth in the&amp;nbsp;begingraph&amp;nbsp;options,&amp;nbsp;I get a warning in the log:&lt;/P&gt;&lt;P&gt;"WARNING: WIDTH exceeds available space for EXCEL destination. Setting WIDTH=1.09375in."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if there is any way around this or what the available space for the excel destination is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 15:09:38 GMT</pubDate>
    <dc:creator>rschneider</dc:creator>
    <dc:date>2017-12-13T15:09:38Z</dc:date>
    <item>
      <title>Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420584#M20017</link>
      <description>&lt;P&gt;I'm using SAS Enterprise Guide 7.1, and I'm&amp;nbsp;trying to create a very wide bar chart using graph template language and then outputting to excel using ODS EXCEL. The issue I'm having is that the graph size is not outputting the way I am expecting from my code. It's much smaller than I am intending. Strangely, it seems that if I make a horizontal bar chart, the sizing works appropriately, but I need the graph to be a vertical bar chart. Any ideas? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define statgraph q1;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;begingraph / designwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;in designheight=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;in subpixel=ON&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;backgroundcolor=white borderattrs=(color=black);&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;entrytitle &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Ease of Appointment"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;textattrs=(family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold) haligncenter=graph;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;entrytitle &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"% Somewhat Satisfied/Very Satisfied"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;textattrs=(family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold) haligncenter=graph; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;layout overlay /&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;xaxisopts = (label = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Providers With Respondents Somewhat Satisfied/Very Satistfied"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;labelattrs= (size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;tickvalueattrs=(size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;yaxisopts = (label = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Percent"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;labelattrs= (size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;tickvalueattrs=(size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; family=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Calibri"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weight=bold)) ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;barchartparm x = graphname&lt;/P&gt;&lt;P&gt;y = q1_percent / dataskin = pressed&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;fillattrs=(color = &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;icpblue.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;orient=vertical;&lt;/P&gt;&lt;P&gt;referenceline y=q1_icp_median_percent /&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;lineattrs=(color=red thickness=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;) legendlabel=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"ICP Median"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ref'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;referenceline y=q1_icp_goal /&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;lineattrs=(color=green thickness=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;) legendlabel=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"ICP Goal"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ref2'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;discretelegend &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ref'&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'ref2'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods noresults;&lt;/P&gt;&lt;P&gt;ods noproctitle;&lt;/P&gt;&lt;P&gt;options nodate nonumber orientation=landscape;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;ods excel file = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;cipath./survey/Ortho Graphs/Survey_prov.xlsx"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;ods excel options(sheet_name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Ease of Apt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgrender data = allquestions2 template=q1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel close;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420584#M20017</guid>
      <dc:creator>rschneider</dc:creator>
      <dc:date>2017-12-12T21:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420620#M20019</link>
      <description>&lt;P&gt;Ods Graphics statement is the basic control for image size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ods graphics / height=8in width=6in;&lt;/P&gt;
&lt;P&gt;would set the graphic display area to 6 inches wide by 8 inches high.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not to Excel but I have used this with up to 30 inch dimensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 22:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420620#M20019</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-12T22:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420819#M20020</link>
      <description>&lt;P&gt;Yes, I&amp;nbsp;think this issue&amp;nbsp;might be related to outputting to excel. When using ods graphics to define the image size, rather than defining the designheight and designwidth in the&amp;nbsp;begingraph&amp;nbsp;options,&amp;nbsp;I get a warning in the log:&lt;/P&gt;&lt;P&gt;"WARNING: WIDTH exceeds available space for EXCEL destination. Setting WIDTH=1.09375in."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if there is any way around this or what the available space for the excel destination is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420819#M20020</guid>
      <dc:creator>rschneider</dc:creator>
      <dc:date>2017-12-13T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420903#M20023</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127690"&gt;@rschneider&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Yes, I&amp;nbsp;think this issue&amp;nbsp;might be related to outputting to excel. When using ods graphics to define the image size, rather than defining the designheight and designwidth in the&amp;nbsp;begingraph&amp;nbsp;options,&amp;nbsp;I get a warning in the log:&lt;/P&gt;
&lt;P&gt;"WARNING: WIDTH exceeds available space for EXCEL destination. Setting WIDTH=1.09375in."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if there is any way around this or what the available space for the excel destination is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So what was your setting on ODS Graphics???&lt;/P&gt;
&lt;P&gt;from the documentation:&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: rgb(252, 222, 192);"&gt;DESIGNWIDTH&lt;/FONT&gt; options of the BEGINGRAPH statement set the intended height and width, which are used to determine the scale factors when the graph is resized. The intended height and width are used unless overridden by the ODS Graphics statement HEIGHT or WIDTH options when the template is executed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if an ods graphics statement with height and width was used before the execution that is overriding your design parameters. Note that macros or example programs may have had an ods graphics statement you weren't aware of. So you might need to use and ods graphics&amp;nbsp;that matches your design parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 17:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420903#M20023</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-13T17:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420915#M20025</link>
      <description>&lt;P&gt;Thank you for your reply ballardw! I was using the same width and height as my original code (height 8in and width 20in)&amp;nbsp;when I tried using ods graphics; however, I was never using ods graphics and designheight/designwidth at the same time. When I&amp;nbsp;did use&amp;nbsp;designheight/designwidth, I turned off ods graphics. It sounds like you are suggesting using them together, is that right?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 17:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420915#M20025</guid>
      <dc:creator>rschneider</dc:creator>
      <dc:date>2017-12-13T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420986#M20028</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127690"&gt;@rschneider&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your reply ballardw! I was using the same width and height as my original code (height 8in and width 20in)&amp;nbsp;when I tried using ods graphics; however, I was never using ods graphics and designheight/designwidth at the same time. When I&amp;nbsp;did use&amp;nbsp;designheight/designwidth, I turned off ods graphics. It sounds like you are suggesting using them together, is that right?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Actually I am suggesting that at sometime in your current session something similar to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ods graphics / width=6in;&lt;/P&gt;
&lt;P&gt;may have been run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do see that if I use&lt;/P&gt;
&lt;P&gt;ods graphics / width=20 that I get a warning when running an SGPLOT graphic:&lt;/P&gt;
&lt;P&gt;WARNING: WIDTH exceeds available space for EXCEL destination. Setting WIDTH=8in.&lt;/P&gt;
&lt;P&gt;So that may well be the issue you are having.&lt;/P&gt;
&lt;P&gt;I don't normally deal with sending graphics to Excel. I always think images are to print or view and either a graphic file such as PNG or GIF works better or ODS RTF and ODS PDF for printable and viewable&amp;nbsp;documents seem to behave nicer.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/420986#M20028</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-13T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Template Language and Output using ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/421355#M20030</link>
      <description>&lt;P&gt;I am specifically trying to use excel as part of a request for the end user. Just for reference, I did find a way to get the graphs to appear as wide as I would like. I ended up using the SAS system option "papersize=" to specify a wider paper area, and it worked! Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Graph-Template-Language-and-Output-using-ODS-Excel/m-p/421355#M20030</guid>
      <dc:creator>rschneider</dc:creator>
      <dc:date>2017-12-14T20:56:09Z</dc:date>
    </item>
  </channel>
</rss>

