<?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: Using PROC GCHART to create image. I need some guidance. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214628#M8006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got someone to fix the image uploads, and I'll go ahead and upload your images:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/11007_data.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data_plotted.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/11008_data_plotted.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 14:30:41 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2015-06-26T14:30:41Z</dc:date>
    <item>
      <title>Using PROC GCHART to create image. I need some guidance.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214627#M8005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi, this is my first time to use PROC GCHART to create a image on SAS, and I need some guidance for it.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now I have a data set named information, and&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;m&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;y purpose &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;is to use this data set to create a chart that shows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;1. From year 2007 to 2010, how many times GY1(Group Y 1), GY2, GY3 are ranked in each year. (numbers under the bar)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;2. Within each year, the proportions are respectively that GY1, GY2, GY3 are ranked as 1st, 2nd, 3rd.(percentages within each bar)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;3. Assign different colors to different rank class.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;4. The image is in format GIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214627#M8005</guid>
      <dc:creator>TasteMyBiceps</dc:creator>
      <dc:date>2015-06-26T09:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using PROC GCHART to create image. I need some guidance.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214628#M8006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got someone to fix the image uploads, and I'll go ahead and upload your images:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/11007_data.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data_plotted.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/11008_data_plotted.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 14:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214628#M8006</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-06-26T14:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using PROC GCHART to create image. I need some guidance.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214629#M8007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And here's one way to create a similar graph with SAS/Graph Gchart ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data my_data;&lt;/P&gt;&lt;P&gt;input Group_Y_ID Year count rank_1st rank_2nd rank_3rd;&lt;/P&gt;&lt;P&gt;label rank_1st='1st Ranked' rank_2nd='2nd Ranked' rank_3rd='3rd Ranked';&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;1 2007 3 66.66667 33.33333 0&lt;/P&gt;&lt;P&gt;1 2008 3 33.33333 33.3333 33.33333&lt;/P&gt;&lt;P&gt;1 2009 4 0 75 25&lt;/P&gt;&lt;P&gt;1 2010 4 50 50 0&lt;/P&gt;&lt;P&gt;2 2007 4 50 50 0&lt;/P&gt;&lt;P&gt;2 2008 3 33.33333 66.66667 0&lt;/P&gt;&lt;P&gt;2 2009 4 100 0 0&lt;/P&gt;&lt;P&gt;2 2010 5 80 20 0&lt;/P&gt;&lt;P&gt;3 2007 3 33.33333 33.33333 33.33333&lt;/P&gt;&lt;P&gt;3 2008 2 50 0 50&lt;/P&gt;&lt;P&gt;3 2009 3 33.33333 33.33333 33.33333&lt;/P&gt;&lt;P&gt;3 2010 4 25 75 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=my_data (drop=count) out=tran_data;&lt;/P&gt;&lt;P&gt;by Group_Y_ID year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data tran_data; set tran_data;&lt;/P&gt;&lt;P&gt;format col1 percentn6.0;&lt;/P&gt;&lt;P&gt;col1=col1/100;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions xpixels=500 ypixels=450;&lt;/P&gt;&lt;P&gt;goptions gunit=pct htitle=3 ftitle="albany amt/bold" htext=2.5 ftext="albany amt";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;legend1 label=none;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pattern1 v=s c=cxfad9b8;&lt;/P&gt;&lt;P&gt;pattern2 v=s c=cxadd7e5;&lt;/P&gt;&lt;P&gt;pattern3 v=s c=cxf7f8d0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 label=none value=none style=0 major=none minor=none;&lt;/P&gt;&lt;P&gt;axis2 label=none value=(angle=90) style=0;&lt;/P&gt;&lt;P&gt;axis3 label=none;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "Group Portfolio (2007 / 2008 / 2009 / 2010)";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gchart data=tran_data;&lt;/P&gt;&lt;P&gt;vbar year / discrete&lt;/P&gt;&lt;P&gt; group=Group_Y_ID&lt;/P&gt;&lt;P&gt; type=sum sumvar=col1 inside=sum&lt;/P&gt;&lt;P&gt; subgroup=_label_ legend=legend1&lt;/P&gt;&lt;P&gt; raxis=axis1 maxis=axis2 gaxis=axis3 noframe&lt;/P&gt;&lt;P&gt; width=8 space=0 coutline=white&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here's what the output looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="grouped_bar.png" class="jive-image-thumbnail jive-image" height="570" src="https://communities.sas.com/legacyfs/online/11009_grouped_bar.png" style="width: 633.333333333333px; height: 570px;" width="633" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 14:33:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Using-PROC-GCHART-to-create-image-I-need-some-guidance/m-p/214629#M8007</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-06-26T14:33:01Z</dc:date>
    </item>
  </channel>
</rss>

