<?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: Very small Pies and Graphs in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/803533#M22693</link>
    <description>&lt;P&gt;I found the mistake I made. In the overall code, I left a ods graphics with the wrong size (I mixed up inches, pts and cm, as I usually use the European standards). Removing the ods graphic and letting SAS choose the best format, solved the problem.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 10:12:48 GMT</pubDate>
    <dc:creator>AScraeyen</dc:creator>
    <dc:date>2022-03-23T10:12:48Z</dc:date>
    <item>
      <title>Very small Pies and Graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802636#M22673</link>
      <description>&lt;P&gt;Hello, I wrote some proc templates to create some graphs and pies, but after outputting them for export to excel, they become extremely small. Even in excel it takes the size of 1 row and even smaller. What am I doing wrong?&lt;/P&gt;&lt;P&gt;Here is an example of my Macro to create a pie:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro Pie_S(Category, response, dataIn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define statgraph pie_S;&lt;BR /&gt;begingraph / datacolors=(&amp;amp;fillcolors_graphs_S) attrpriority=none;&lt;BR /&gt;layout region;&lt;BR /&gt;piechart category=&amp;amp;Category response=&amp;amp;response / outlineattrs=(pattern=2 color=lightgrey)&lt;BR /&gt;datalabellocation=outside&lt;BR /&gt;categorydirection=clockwise&lt;BR /&gt;start=90&lt;BR /&gt;name= 'pie';&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sgrender data=&amp;amp;datain template=pie_S ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend Pie_S;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I export with ODS Excel (for confidentiality reasons I've put X's where needed):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel file= "XXXX.xlsx";&lt;BR /&gt;ods excel options(sheet_name='XXX' embedded_titles='no');&lt;BR /&gt;%pie_s(gegevens,percentage,XXX);&lt;BR /&gt;ods excel options(sheet_name='XXX' embedded_titles='no');&lt;BR /&gt;%pie_s(gegevens,percentage,XXX);&lt;BR /&gt;ods excel options(sheet_name='XXX' embedded_titles='no');&lt;BR /&gt;%pie_s(gegevens,percentage,XXX);&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 15:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802636#M22673</guid>
      <dc:creator>AScraeyen</dc:creator>
      <dc:date>2022-03-17T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Very small Pies and Graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802641#M22674</link>
      <description>&lt;P&gt;What are your current settings for ODS GRAPHICS options?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to specify some size units in Height and Width options such as&lt;/P&gt;
&lt;P&gt;ODS GRAPHICS Height=5in Width=7in;&lt;/P&gt;
&lt;P&gt;which would set the display to 5 inches by 7 inches Or the equivalent in the GTL&amp;nbsp; DESIGNWIDTH and DESIGNHEIGHT options of STATGRAPH in your template. The defaults are defined in pixels and with a high resolution screen pixels are pretty small.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 15:42:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802641#M22674</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-17T15:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Very small Pies and Graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802753#M22675</link>
      <description>&lt;P&gt;Unfortunately, I tried already to fix the size, but that doesn't change this problem. I can make graphs one moment, and the next time I run my code, they become really really small...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 08:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802753#M22675</guid>
      <dc:creator>AScraeyen</dc:creator>
      <dc:date>2022-03-18T08:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Very small Pies and Graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802779#M22680</link>
      <description>&lt;P&gt;with 5in on 5in it gives the same result in sas (and the same size in excel):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AScraeyen_0-1647607427819.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69556iAB01F2947A085C00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AScraeyen_0-1647607427819.png" alt="AScraeyen_0-1647607427819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;rather small and difficult to read /&amp;nbsp; analyse, no?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 12:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/802779#M22680</guid>
      <dc:creator>AScraeyen</dc:creator>
      <dc:date>2022-03-18T12:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Very small Pies and Graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/803533#M22693</link>
      <description>&lt;P&gt;I found the mistake I made. In the overall code, I left a ods graphics with the wrong size (I mixed up inches, pts and cm, as I usually use the European standards). Removing the ods graphic and letting SAS choose the best format, solved the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 10:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Very-small-Pies-and-Graphs/m-p/803533#M22693</guid>
      <dc:creator>AScraeyen</dc:creator>
      <dc:date>2022-03-23T10:12:48Z</dc:date>
    </item>
  </channel>
</rss>

