<?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: Question regarding Pie Charts in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Question-regarding-Pie-Charts/m-p/73135#M21219</link>
    <description>Hi:&lt;BR /&gt;
  For a numeric variable (such as month -- if your month is a numeric variable), PROC GCHART determines the midpoints as though month were a continuous variable -- which may not be what you want. In the documentation of the PIE statement:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-pie.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-pie.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
...you will find several options, such as the DISCRETE option and/or the MIDPOINTS and/or the LEVELS option, which may help you.&lt;BR /&gt;
&lt;BR /&gt;
  There is a separate forum for posting SAS/GRAPH and ODS Graphics questions, which is monitored by the SAS/GRAPH folks. In the future, you might want to post SAS/GRAPH questions there.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sat, 18 Sep 2010 13:40:21 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-09-18T13:40:21Z</dc:date>
    <item>
      <title>Question regarding Pie Charts</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-regarding-Pie-Charts/m-p/73134#M21218</link>
      <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to create a 2d pie graph using SAS on seperating male employees into each birthmonth (eg % all male born in july etc). However, when I try to do this I just end up getting a pie graph with only 10sections (when there are 12months in the year and Ive checked viewtables to confirm that there are male employees born in each month) and the section titles are meaningless such as '2.4' instead of showing each month (not sure how I can exactly do this). Wondering if you guys can kindly help me out.&lt;BR /&gt;
&lt;BR /&gt;
My commands look something like this:&lt;BR /&gt;
&lt;BR /&gt;
proc gchart data=employees;&lt;BR /&gt;
pie birth_month;&lt;BR /&gt;
where Gender='F';&lt;BR /&gt;
run;</description>
      <pubDate>Sat, 18 Sep 2010 05:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-regarding-Pie-Charts/m-p/73134#M21218</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-18T05:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Pie Charts</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-regarding-Pie-Charts/m-p/73135#M21219</link>
      <description>Hi:&lt;BR /&gt;
  For a numeric variable (such as month -- if your month is a numeric variable), PROC GCHART determines the midpoints as though month were a continuous variable -- which may not be what you want. In the documentation of the PIE statement:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-pie.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-pie.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
...you will find several options, such as the DISCRETE option and/or the MIDPOINTS and/or the LEVELS option, which may help you.&lt;BR /&gt;
&lt;BR /&gt;
  There is a separate forum for posting SAS/GRAPH and ODS Graphics questions, which is monitored by the SAS/GRAPH folks. In the future, you might want to post SAS/GRAPH questions there.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 18 Sep 2010 13:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-regarding-Pie-Charts/m-p/73135#M21219</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-18T13:40:21Z</dc:date>
    </item>
  </channel>
</rss>

