<?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: Created 100% stacked Bar chart using proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333423#M11616</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;In which&amp;nbsp;version of SAS was this option introduced?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 15:28:22 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-02-16T15:28:22Z</dc:date>
    <item>
      <title>Created 100% stacked Bar chart using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333329#M11613</link>
      <description>&lt;P&gt;Currently, I want to produce a 100% stacked Bar chart as below using sgplot&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7272iF6EB9304A156BDA8/image-size/medium?v=1.0&amp;amp;px=-1" border="0" alt="graph.JPG" title="graph.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;Here is the data table&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7273iF6C722EE40AF226C/image-size/medium?v=1.0&amp;amp;px=-1" border="0" alt="table.JPG" title="table.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;The graph above is the result from Gchart procedure, now I want to use Sgplot instead. I've been struggled with this recently but still can't find a way to work this out. Can somebody point me in the way how I would set this up?&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 10:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333329#M11613</guid>
      <dc:creator>ShinCrayons</dc:creator>
      <dc:date>2017-02-16T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Created 100% stacked Bar chart using proc gsplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333334#M11614</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2014/04/06/g100-with-sgplot/" target="_self"&gt;G100 with SGPLOT&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/iml/2014/04/08/construct-a-stacked-bar-chart-in-sas-where-each-bar-equals-100.html" target="_self"&gt;Construct a stacked bar chart in SAS where each bar equals 100%&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 16 Feb 2017 10:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333334#M11614</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-02-16T10:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Created 100% stacked Bar chart using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333414#M11615</link>
      <description>&lt;P&gt;In addition to the techniques referred to by Rick, you can also by-pass externally computing the percentage values by using a combination of STAT=PCT and PCTLEVEL=GROUP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars pctlevel=group;
vbar origin / group=type stat=pct seglabel;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333414#M11615</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-02-16T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Created 100% stacked Bar chart using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333423#M11616</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;In which&amp;nbsp;version of SAS was this option introduced?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333423#M11616</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-02-16T15:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Created 100% stacked Bar chart using proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333433#M11617</link>
      <description>&lt;P&gt;The PCT stat and PCTLEVEL option where introduced in SAS 9.4. The SEGLABEL option was introduced in SAS 9.4m2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Created-100-stacked-Bar-chart-using-proc-sgplot/m-p/333433#M11617</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-02-16T15:46:00Z</dc:date>
    </item>
  </channel>
</rss>

