<?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: Grouped Bar Graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30164#M892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will get much easier in SAS 9.3, but in the meantime you can use GTL to create any combination of bar and line you need.&amp;nbsp; If your data is organized in columns like shown in the sas program (attached), then the GTL code will allow you to create the adjascent grouped bars with overlaid lines as shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11802i0E00E7FA7A1FEDAA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="BarLine.png" title="BarLine.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 21:16:59 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2011-07-18T21:16:59Z</dc:date>
    <item>
      <title>Grouped Bar Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30162#M890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my customer wants me to create a grouped bar graph where the is a line from one bar to the other from the top value of each group to the top value of the corresponding group of the next bar.&lt;/P&gt;&lt;P&gt;Does SAS offer this kind of graph?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer wants even a second bar graph which is also grouped but where the groups are not stacked but displayed next to each other and with a line betwwen each and a value on the line which indicates the value of the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes &lt;/P&gt;&lt;P&gt;Eva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 11:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30162#M890</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2011-07-13T11:25:51Z</dc:date>
    </item>
    <item>
      <title>Grouped Bar Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30163#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Eva;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For one of the best collections around showing many of the gprohical things SAS can do, including the code to do it, look here: &lt;A href="http://www.robslink.com/SAS/Home.htm"&gt;http://www.robslink.com/SAS/Home.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 12:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30163#M891</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2011-07-13T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30164#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will get much easier in SAS 9.3, but in the meantime you can use GTL to create any combination of bar and line you need.&amp;nbsp; If your data is organized in columns like shown in the sas program (attached), then the GTL code will allow you to create the adjascent grouped bars with overlaid lines as shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11802i0E00E7FA7A1FEDAA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="BarLine.png" title="BarLine.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 21:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30164#M892</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-07-18T21:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30165#M893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same graph can be done using cluster groups in the SAS 9.3 SGPLOT procedure.&amp;nbsp; See attached image and code. &lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10758i70EF26B169B48DCB/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="BarLineCluster.png" title="BarLineCluster.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 19:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30165#M893</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-07-19T19:24:22Z</dc:date>
    </item>
    <item>
      <title>Grouped Bar Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30166#M894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say "grouped bar chart", I assume you're talking about bars with several different-colored segments stacked on top of each other?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using traditional SAS/Graph, proc gbarline might do what you're wanting (assuming you have a fairly recent version, such as 9.2m3).&amp;nbsp; Or, if gbarline doesn't provide what you're needing, you could annotate a line on top of a proc gchart bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some various examples you might find useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/33/171.html"&gt;http://support.sas.com/kb/33/171.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd30/new_92_sas.htm#gbarline"&gt;http://robslink.com/SAS/democd30/new_92_sas.htm#gbarline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and a few more fancy examples...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd36/oil_blinged.htm"&gt;http://robslink.com/SAS/democd36/oil_blinged.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd36/oil_blinged_info.htm"&gt;http://robslink.com/SAS/democd36/oil_blinged_info.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd33/subprime.htm"&gt;http://robslink.com/SAS/democd33/subprime.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd33/subprime_info.htm"&gt;http://robslink.com/SAS/democd33/subprime_info.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd31/shoebar.htm"&gt;http://robslink.com/SAS/democd31/shoebar.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd31/shoebar_info.htm"&gt;http://robslink.com/SAS/democd31/shoebar_info.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 17:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Graph/m-p/30166#M894</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2011-08-25T17:19:09Z</dc:date>
    </item>
  </channel>
</rss>

