<?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: Dual axis bar chart with different categories in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434328#M15005</link>
    <description>&lt;P&gt;This should work for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
yaxis refticks=(label values);
vbar age / response=weight stat=sum group=sex;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 18:38:37 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-02-05T18:38:37Z</dc:date>
    <item>
      <title>Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434047#M14995</link>
      <description>&lt;P&gt;I would like to know how I can create a dual axis bar chart with different categories using SAS commands. I am attaching an image that is an example of what I need to do. The example is very accurate, except that I do not need the line graph. Since I am using private data, I cannot upload the data set or my commands. I would truly appreciate any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 04:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434047#M14995</guid>
      <dc:creator>priscilabaddouh</dc:creator>
      <dc:date>2018-02-05T04:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434123#M14996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/146623"&gt;@priscilabaddouh&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you have a look at &lt;A href="http://support.sas.com/kb/41/975.html" target="_self"&gt;Sample 41975: Annotate a right vertical axis on PROC GCHART output&lt;/A&gt;, it should help you.&lt;/P&gt;
&lt;P&gt;This is the output of the sample.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18326i87BB4AC12FB11241/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And you can always use&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;page &lt;A href="http://robslink.com/SAS/Home.htm" target="_self"&gt;Robert Allison's SAS/Graph Examples!&lt;/A&gt;&amp;nbsp;which has more examples that you can think of (or &lt;A href="https://support.sas.com/sassamples/graphgallery/index.html" target="_self"&gt;Graphics Samples Output Gallery&lt;/A&gt;)&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Damo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 10:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434123#M14996</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2018-02-05T10:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434225#M15003</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/146623"&gt;@priscilabaddouh&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;I cannot upload the data set or my commands.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The data I agree can be sensitive. If you have sufficient information in program code to violate any sensitivity rules I would be very skeptical though. Or change the name of your data set from sensitivename to genericname (HAVE is frequently used on this forum for any existing data set) and similar for variable names.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434225#M15003</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-05T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434328#M15005</link>
      <description>&lt;P&gt;This should work for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
yaxis refticks=(label values);
vbar age / response=weight stat=sum group=sex;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 18:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434328#M15005</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-02-05T18:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434384#M15006</link>
      <description>&lt;P&gt;See new Graphically Speaking article inspired by your question.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2018/02/05/dual-response-axis-bar-line-overlay-part-1/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2018/02/05/dual-response-axis-bar-line-overlay-part-1/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434384#M15006</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-02-05T20:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dual axis bar chart with different categories</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434670#M15018</link>
      <description>&lt;P&gt;Thank you so much. I could not be more thankful. Have an amazing day!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dual-axis-bar-chart-with-different-categories/m-p/434670#M15018</guid>
      <dc:creator>priscilabaddouh</dc:creator>
      <dc:date>2018-02-06T19:20:35Z</dc:date>
    </item>
  </channel>
</rss>

