<?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: Creating a bar graph when there are multiple measures in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-bar-graph-when-there-are-multiple-measures/m-p/397274#M13617</link>
    <description>&lt;P&gt;Transpose it to a long format using PROC TRANSPOSE.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then use PROC SGPLOT with VBARPARM statement to create a bar graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example is more complicated that what you need but it should give you the idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Colours are controlled by the STYLE tempate, which you can change or you can explicitly set them to what you need using a STYLEATTRS statement.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2017 21:35:56 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-09-19T21:35:56Z</dc:date>
    <item>
      <title>Creating a bar graph when there are multiple measures</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-bar-graph-when-there-are-multiple-measures/m-p/397272#M13616</link>
      <description>&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have data as follows&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;report_dt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New&amp;nbsp; incomplete&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comlete&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pending&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; referrals&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; incomplete_gt_5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; incomplete_lt_5&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;19sept2017&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000&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; 1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&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; 60&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; 9000&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; 4500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can create a graph similar to attached using proc sgplot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-bar-graph-when-there-are-multiple-measures/m-p/397272#M13616</guid>
      <dc:creator>jb9977</dc:creator>
      <dc:date>2017-09-19T21:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a bar graph when there are multiple measures</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-bar-graph-when-there-are-multiple-measures/m-p/397274#M13617</link>
      <description>&lt;P&gt;Transpose it to a long format using PROC TRANSPOSE.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then use PROC SGPLOT with VBARPARM statement to create a bar graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example is more complicated that what you need but it should give you the idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Colours are controlled by the STYLE tempate, which you can change or you can explicitly set them to what you need using a STYLEATTRS statement.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-bar-graph-when-there-are-multiple-measures/m-p/397274#M13617</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-19T21:35:56Z</dc:date>
    </item>
  </channel>
</rss>

