<?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 Bar graph with multiple subgroups in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504459#M17182</link>
    <description>&lt;P&gt;Hi, I'm trying to create a bar graph in SAS with many sub-divisions but with little progress. Does anyone know how to make the following graph in SAS? It is very important that I get all 8 groups and the three subgroups within each, and the yes/no response (find attached). I'm on version 9.4. Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasexample.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24029i75DD43332B677DBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasexample.PNG" alt="sasexample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 19:42:51 GMT</pubDate>
    <dc:creator>richart</dc:creator>
    <dc:date>2018-10-15T19:42:51Z</dc:date>
    <item>
      <title>Bar graph with multiple subgroups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504459#M17182</link>
      <description>&lt;P&gt;Hi, I'm trying to create a bar graph in SAS with many sub-divisions but with little progress. Does anyone know how to make the following graph in SAS? It is very important that I get all 8 groups and the three subgroups within each, and the yes/no response (find attached). I'm on version 9.4. Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasexample.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24029i75DD43332B677DBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasexample.PNG" alt="sasexample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504459#M17182</guid>
      <dc:creator>richart</dc:creator>
      <dc:date>2018-10-15T19:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph with multiple subgroups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504466#M17183</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240551"&gt;@richart&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I'm trying to create a bar graph in SAS with many sub-divisions but with little progress. Does anyone know how to make the following graph in SAS? It is very important that I get all 8 groups and the three subgroups within each, and the yes/no response (find attached). I'm on version 9.4. Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasexample.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24029i75DD43332B677DBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasexample.PNG" alt="sasexample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your example looks like an oldish PROC GCHART graph.&lt;/P&gt;
&lt;P&gt;It would help to show what you have attempted so far, preferably with a bit of example data. This might require some data transformations depending upon your current data structure.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504466#M17183</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-15T19:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph with multiple subgroups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504467#M17184</link>
      <description>&lt;P&gt;This example should help you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=sashelp.heart;
panelby weight_status / onepanel layout=columnlattice novarname noborder;
vbar chol_status / group=sex groupdisplay=cluster;
rowaxis grid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you&amp;nbsp;want to move the headers to the bottom, specify COLHEADERPOS=bottom on the PANELBY statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:54:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504467#M17184</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-10-15T19:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph with multiple subgroups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504468#M17185</link>
      <description>&lt;P&gt;That is better than I could have dreamed! Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Bar-graph-with-multiple-subgroups/m-p/504468#M17185</guid>
      <dc:creator>richart</dc:creator>
      <dc:date>2018-10-15T19:56:18Z</dc:date>
    </item>
  </channel>
</rss>

