<?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: Proc Gchart in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22765#M4995</link>
    <description>Thanks a lot. This is what I was looking for.&lt;BR /&gt;
&lt;BR /&gt;
           Can you tell me why it works. Is it because of the alphabets order. Bottom comes before top.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
    <pubDate>Wed, 04 Jun 2008 16:44:21 GMT</pubDate>
    <dc:creator>AmitKB</dc:creator>
    <dc:date>2008-06-04T16:44:21Z</dc:date>
    <item>
      <title>Proc Gchart</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22763#M4993</link>
      <description>Hi,&lt;BR /&gt;
        Thanks for the help.&lt;BR /&gt;
&lt;BR /&gt;
       I am trying to create a vertical stacked column chart using gghart. the subgroup variable 'type' has 2 values A and B. I want B to be on top of stack and A on bottom. Basically I want to control order of stacking.&lt;BR /&gt;
&lt;BR /&gt;
Data;&lt;BR /&gt;
input year type amount;&lt;BR /&gt;
        2005 A 1000&lt;BR /&gt;
        2005 B  35&lt;BR /&gt;
        2006 A  345&lt;BR /&gt;
        2006 B 500&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Tue, 03 Jun 2008 18:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22763#M4993</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2008-06-03T18:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gchart</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22764#M4994</link>
      <description>Amit&lt;BR /&gt;
A way to understand&lt;BR /&gt;
[pre]&lt;BR /&gt;
Data z;&lt;BR /&gt;
input year type $ amount;&lt;BR /&gt;
cards;&lt;BR /&gt;
2005 A 1000&lt;BR /&gt;
2005 B 35&lt;BR /&gt;
2006 A 345&lt;BR /&gt;
2006 B 500&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
proc format ;&lt;BR /&gt;
value $t "A" = "top    A"&lt;BR /&gt;
         "B" = "bottom B"&lt;BR /&gt;
		 ;&lt;BR /&gt;
value $inv "A" = "bottom  A"&lt;BR /&gt;
           "B" = "top     B"&lt;BR /&gt;
		 ;&lt;BR /&gt;
		 run;&lt;BR /&gt;
proc gchart data=z ;&lt;BR /&gt;
vbar year/discrete subgroup=type sumvar=amount;&lt;BR /&gt;
format type $t.;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
proc gchart data=z ;&lt;BR /&gt;
vbar year/discrete subgroup=type sumvar=amount;&lt;BR /&gt;
format type $inv.;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 04 Jun 2008 11:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22764#M4994</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2008-06-04T11:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gchart</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22765#M4995</link>
      <description>Thanks a lot. This is what I was looking for.&lt;BR /&gt;
&lt;BR /&gt;
           Can you tell me why it works. Is it because of the alphabets order. Bottom comes before top.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Wed, 04 Jun 2008 16:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Gchart/m-p/22765#M4995</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2008-06-04T16:44:21Z</dc:date>
    </item>
  </channel>
</rss>

