<?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 Charts: in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191115#M7065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert! This is perfect. I appreciate it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 14:28:58 GMT</pubDate>
    <dc:creator>Mgarret</dc:creator>
    <dc:date>2014-04-24T14:28:58Z</dc:date>
    <item>
      <title>Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191112#M7062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Hi--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to using SAS graph and I am trying to program a couple group bar charts.&amp;nbsp; I have attached an example of&amp;nbsp; of what I'm trying to accomplish (Chart Example.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;I have a data set&amp;nbsp; which looks like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 564px; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;STRONG style="color: #575757;"&gt;year&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;STRONG style="color: #575757;"&gt;Month&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;STRONG style="color: #575757;"&gt;PILOT_CATEGORY&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;STRONG style="color: #575757;"&gt;MEDIA_METHOD&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;STRONG style="color: #575757;"&gt;Touch_count&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="26" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;February&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Control&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Direct Mail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;14096&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="38" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;February&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Test&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Direct Mail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;49801&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="22" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;February&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Control&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Email&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;811743&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="27" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;February&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Test&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Email&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;745799&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;March&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Control&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Direct Mail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;255563&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;March&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Test&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Direct Mail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;202191&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;March&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Control&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Email&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;1101510&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="64"&gt;&lt;SPAN style="color: #575757;"&gt;March&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="156"&gt;&lt;SPAN style="color: #575757;"&gt;Test&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="142"&gt;&lt;SPAN style="color: #575757;"&gt;Email&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: left; padding: 0px; background-color: transparent; font-family: arial, helvetica, sans-serif;" width="138"&gt;&lt;SPAN style="color: #575757;"&gt;563655&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have for syntax so far -&amp;nbsp; which is not the desired output I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc gchart data=have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vbar Touch_count / group= PILOT_CATEGORY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; patternid=group;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vbar Touch_count / subgroup=Month;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, an example of what I'm looking for is attached.&amp;nbsp; Any assistance is greatly appreciated.&amp;nbsp; Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 21:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191112#M7062</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2014-04-23T21:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191113#M7063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the SGPLOT procedure to get similar graphs.&amp;nbsp; While SAS graphics has its own defaults, you can get this look with some options.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="6106" alt="DirectMail.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/6106_DirectMail.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="6107" alt="EMailJournal.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/6107_EMailJournal.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 01:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191113#M7063</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-04-24T01:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191114#M7064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you're using sas/graph gchart in your code, here's how to do it in gchart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;INFILE DATALINES DLM=',';&lt;BR /&gt;length month pilot_category media_method $20;&lt;BR /&gt;input year Month PILOT_CATEGORY MEDIA_METHOD Touch_count;&lt;BR /&gt;datalines;&lt;BR /&gt;2014,February,Control,Direct Mail,14096&lt;BR /&gt;2014,February,Test,Direct Mail,49801&lt;BR /&gt;2014,February,Control,Email,811743&lt;BR /&gt;2014,February,Test,Email,745799&lt;BR /&gt;2014,March,Control,Direct Mail,255563&lt;BR /&gt;2014,March,Test,Direct Mail,202191&lt;BR /&gt;2014,March,Control,Email,1101510&lt;BR /&gt;2014,March,Test,Email,563655&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have out=have;&lt;BR /&gt;by media_method;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options nobyline;&lt;BR /&gt;title1 ls=1.5 "Marketing Touches Results: #byval(media_method)";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 label=none major=(number=7) minor=none offset=(0,0);&lt;BR /&gt;axis2 label=none value=none;&lt;BR /&gt;axis3 label=none offset=(8,8);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;legend1 label=(position=top color=white) position=(bottom center)&lt;BR /&gt; shape=bar(.15in,.15in);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pattern1 v=r color=red;&lt;BR /&gt;pattern2 v=s color=red;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions device=png xpixels=500 ypixels=400 gunit=pct htitle=4.0 htext=3.2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gchart data=have;&lt;BR /&gt;by media_method;&lt;BR /&gt;format touch_count comma10.0;&lt;BR /&gt;vbar pilot_category / type=sum sumvar=touch_count legend=legend1&lt;BR /&gt; group=month subgroup=pilot_category outside=sum&lt;BR /&gt; width=15 space=0 gspace=8 coutline=same&lt;BR /&gt; raxis=axis1 maxis=axis2 gaxis=axis3 noframe&lt;BR /&gt; autoref clipref cref=graycc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here are the 2 graphs the above code produces -- pretty much exactly like the ones in your excel spreadsheet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo1.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/6121_foo1.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo2.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/6122_foo2.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191114#M7064</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-04-24T12:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191115#M7065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert! This is perfect. I appreciate it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 14:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191115#M7065</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2014-04-24T14:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191116#M7066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another questions if you have time.&amp;nbsp; I am trying to incorporate the charts into a report - see my program below.&amp;nbsp; I have&amp;nbsp; to include a table and both charts in one page. Is it possible that&amp;nbsp; I can shrink the charts and have them side by side horizontally?&amp;nbsp; Any assistance will be greatly appreciated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc sort data=touches_month_chart out=touches_month_chart;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;by media_method;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ods listing;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;options leftmargin=".1 in" topmargin=".1 in"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightmargin=".1 in" bottommargin=".1 in"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodate nonumber orientation=portrait;&lt;/P&gt;&lt;P&gt;ods pdf file="U:\Matt Local\Programs\VLSS Programs\Report.pdf"&lt;/P&gt;&lt;P&gt;startpage=yes;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;footnote;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;/*This creates a table from another dataset*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc report&lt;/P&gt;&lt;P&gt;data=touches_month_table nowd headline headskip&lt;/P&gt;&lt;P&gt;style(column)={just=c font_size=11pt font_face= 'Arial Narrow' /*cellwidth=2.5in*/}&lt;/P&gt;&lt;P&gt;style(header)={font_size=11 pt font_face= 'Arial Narrow' FONT_WEIGHT =BOLD background=cxcccccc};&lt;/P&gt;&lt;P&gt;title1 "^S={font_face='Arial Narrow' font_weight=bold font_size=14pt} &lt;/P&gt;&lt;P&gt;Marketing Touches";&lt;/P&gt;&lt;P&gt;column ("^S={font_face='Arial Narrow' FONT_WEIGHT =BOLD background=CXDC143C just=c font_size=12pt} Frequency of Marketing Touches by Month ^S={}"&amp;nbsp; Month MEDIA_METHOD&amp;nbsp; Control Test);&lt;/P&gt;&lt;P&gt;define Month / group&lt;/P&gt;&lt;P&gt;style(column)={just=l cellwidth=.8in bordertopcolor=black borderrightcolor=black borderlefttcolor=black borderbottomcolor=black};&lt;/P&gt;&lt;P&gt;define MEDIA_METHOD / display&lt;/P&gt;&lt;P&gt;style(column)={just=l cellwidth=1in&amp;nbsp; bordertopcolor=black borderrightcolor=black borderlefttcolor=black borderbottomcolor=black};&lt;/P&gt;&lt;P&gt;define Control / display&lt;/P&gt;&lt;P&gt;style(column)={just=c cellwidth=.7in bordertopcolor=black borderrightcolor=black borderlefttcolor=black borderbottomcolor=black};&lt;/P&gt;&lt;P&gt;define Test / display&lt;/P&gt;&lt;P&gt;style(column)={just=c cellwidth=.7in bordertopcolor=black borderrightcolor=black borderlefttcolor=black borderbottomcolor=black};&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods pdf startpage=no;&lt;/P&gt;&lt;P&gt;options nobyline;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "Marketing Touches Results: #byval(media_method)";&lt;/P&gt;&lt;P&gt;axis1 label=none major=(number=7) minor=none offset=(0,0);&lt;/P&gt;&lt;P&gt;axis2 label=none value=none;&lt;/P&gt;&lt;P&gt;axis3 label=none offset=(8,8);&lt;/P&gt;&lt;P&gt;legend1 label=(position=top color=white) position=(bottom center)&lt;/P&gt;&lt;P&gt;shape=bar(.15in,.15in);&lt;/P&gt;&lt;P&gt;pattern1 v=r color=red;&lt;/P&gt;&lt;P&gt;pattern2 v=s color=red;&lt;/P&gt;&lt;P&gt;goptions device=png xpixels=500 ypixels=400 gunit=pct htitle=4.0 htext=3.2;&lt;/P&gt;&lt;P&gt;proc gchart data=touches_month_chart;&lt;/P&gt;&lt;P&gt;by media_method;&lt;/P&gt;&lt;P&gt;format touch_count comma10.0;&lt;/P&gt;&lt;P&gt;vbar pilot_category / type=sum sumvar=touch_count legend=legend1&lt;/P&gt;&lt;P&gt;group=month subgroup=pilot_category outside=sum&lt;/P&gt;&lt;P&gt;width=10 space=0 gspace=8 coutline=same&lt;/P&gt;&lt;P&gt;raxis=axis1 maxis=axis2 gaxis=axis3 noframe&lt;/P&gt;&lt;P&gt;autoref clipref cref=graycc;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:40:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191116#M7066</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2014-04-24T16:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191117#M7067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but I don't know too much about generating pdf output with graphs.&lt;/P&gt;&lt;P&gt;If you don't get an answer on the forum, that might be a good question to send to Tech Support &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191117#M7067</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-04-25T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar Charts:</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191118#M7068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mgarret&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take an idea from my contribution in&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://communities.sas.com/message/205231#205231"&gt;https://communities.sas.com/message/205231#205231&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The program place a top area and then 2 maps side by side&lt;/P&gt;&lt;P&gt;and then again 2 areas with maps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the trick is to remain on the same page&lt;/P&gt;&lt;P&gt;and the adjust your vsize hsize vorigin and horign goptions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 13:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Bar-Charts/m-p/191118#M7068</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2014-04-25T13:19:10Z</dc:date>
    </item>
  </channel>
</rss>

