<?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: I am trouble with ODS EXCEL and outputing a layout lattice to xlsx tab and keeping its SIze in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194686#M7221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried anything like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / height=4in width=3in;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before any procedure that produces output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to consider scale=off if text in the graph gets too big or small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 19:50:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-08-07T19:50:37Z</dc:date>
    <item>
      <title>I am trouble with ODS EXCEL and outputing a layout lattice to xlsx tab and keeping its SIze</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194685#M7220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with ODS Excel to build an Excel Workbook that will act like a scorecard.&amp;nbsp; My problem is I need the graphic output to be a certain size in excel, but when it renders in Excel it defaults to 6.61 inches wide.&amp;nbsp; Has anyone encountered this?&amp;nbsp; Below is basically my code that I am using but very dummied down and using sashelp dataset.&lt;/P&gt;&lt;P&gt;data class;&lt;BR /&gt; set sashelp.class;&lt;BR /&gt; proc sort; by sex;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS EXCEL file="test.xlsx"&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;ods excel options(sheet_name="Performance" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fittopage='OFF'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; orientation='landscape');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro graph();&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt; define statgraph barchart ; &lt;BR /&gt;&amp;nbsp; begingraph /&amp;nbsp; designwidth=11in designheight=9in ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; layout lattice / columns = 4 rows = 2 ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %do i = 1 %to&amp;nbsp; 8;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay/&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; seriesplot x=sex&amp;nbsp; y= weight / display=all&amp;nbsp; lineattrs=(color=black pattern=solid) markerattrs= (symbol=circlefilled) legendlabel="ConversionRatio" name= "ser" ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt; %end;&lt;BR /&gt;&amp;nbsp; endlayout;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;run;&lt;BR /&gt;proc sgrender data=class template=barchart;&lt;BR /&gt;run;&lt;BR /&gt;%mend;&lt;BR /&gt;%graph();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help on this&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 19:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194685#M7220</guid>
      <dc:creator>AmfamNate</dc:creator>
      <dc:date>2015-08-07T19:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: I am trouble with ODS EXCEL and outputing a layout lattice to xlsx tab and keeping its SIze</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194686#M7221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried anything like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / height=4in width=3in;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before any procedure that produces output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to consider scale=off if text in the graph gets too big or small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 19:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194686#M7221</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-07T19:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: I am trouble with ODS EXCEL and outputing a layout lattice to xlsx tab and keeping its SIze</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194687#M7222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I tried using the ods graphic options, but it still downsizes compared to the 11 or 12 inch width I am trying to accomplish.&amp;nbsp; When I put in above 12 inch width I get the below warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: WIDTH exceeds available space for EXCEL destination. Setting WIDTH=1.09375in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;So does ODS Excel put a limit on the size of graphic it is rendering?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 20:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-am-trouble-with-ODS-EXCEL-and-outputing-a-layout-lattice-to/m-p/194687#M7222</guid>
      <dc:creator>AmfamNate</dc:creator>
      <dc:date>2015-08-07T20:00:52Z</dc:date>
    </item>
  </channel>
</rss>

