<?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 New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586444#M14494</link>
    <description>Sorry I am not clear, could you please give more details</description>
    <pubDate>Thu, 05 Sep 2019 15:01:15 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2019-09-05T15:01:15Z</dc:date>
    <item>
      <title>PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586411#M14477</link>
      <description>&lt;P&gt;Hi. I would like to create this below graph, but the region (east and west) should be lattice display not stacked and show the datalabel for each region. Thank you.&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;legend1 position=(right bottom inside) across=1 label=none&lt;BR /&gt;shape=bar(.10in,.10in);&lt;BR /&gt;proc gchart data=sashelp.prdsale;&lt;BR /&gt;hbar product / DISCRETE type=sum sumvar=actual sum sumlabel='Counts' descending group=quarter&lt;BR /&gt;nozero subgroup=region&lt;BR /&gt;maxis=axis1 raxis=axis2 gaxis=axis3 legend=legend1 noframe PATTERNID=subgroup ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586411#M14477</guid>
      <dc:creator>Zula</dc:creator>
      <dc:date>2019-09-05T13:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586416#M14479</link>
      <description>&lt;P&gt;If you are expecting the graph as below then try the code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;legend1 position=(right bottom inside) across=1 label=none shape=bar(.10in,.10in);
proc gchart data=sashelp.prdsale;
hbar region / DISCRETE type=sum sumvar=actual sum sumlabel='Counts' descending group=product
maxis=axis1 raxis=axis2 gaxis=axis3 legend=legend1 noframe PATTERNID=midpoint ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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/32222i1C30EF54712C422F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586416#M14479</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-05T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586419#M14480</link>
      <description>&lt;P&gt;Thanks. The "Quarter" category is not showing here. How can I include that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586419#M14480</guid>
      <dc:creator>Zula</dc:creator>
      <dc:date>2019-09-05T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586422#M14481</link>
      <description>&lt;P&gt;Please check now, I used the subgroup=quarter in the code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;legend1 position=(right bottom inside) across=1 label=none shape=bar(.10in,.10in);
proc gchart data=sashelp.prdsale;
hbar region / DISCRETE type=sum sumvar=actual sum sumlabel='Counts' descending group=product subgroup=quarter
maxis=axis1 raxis=axis2 gaxis=axis3 legend=legend1 noframe PATTERNID=midpoint ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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/32223iDC596CBB8C6B2200/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:51:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586422#M14481</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-05T13:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586430#M14485</link>
      <description>&lt;P&gt;For each quarter there should be data label, too. How can I do that? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586430#M14485</guid>
      <dc:creator>Zula</dc:creator>
      <dc:date>2019-09-05T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586442#M14492</link>
      <description>&lt;P&gt;Hope you are fine with the below, used annotation dataset as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;goptions reset=global;
data barlabel;
 length function color $8;                                                                                                            
   retain xsys ysys '2' color 'magenta' when 'a'; 
   set sashelp.prdsale;
 function='label';
   midpoint=region;
   group=product;
   subgroup=quarter;
   text='  '||strip(put(quarter,best.));
run;


legend1 position=(right bottom inside) across=1 label=none shape=bar(.10in,.10in) mode=protect;
proc gchart data=sashelp.prdsale;
hbar region / DISCRETE type=sum sumvar=actual sum sumlabel='Counts' descending group=product subgroup=quarter
maxis=axis1 raxis=axis2 gaxis=axis3 legend=legend1 noframe PATTERNID=midpoint annotate=barlabel;
run;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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/32225i6BD258FEA990A60B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586442#M14492</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-05T14:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586443#M14493</link>
      <description>&lt;P&gt;Sorry, I wanted to show not stacked the quarterly data and the actual counts for each latticed displayed bars.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586443#M14493</guid>
      <dc:creator>Zula</dc:creator>
      <dc:date>2019-09-05T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586444#M14494</link>
      <description>Sorry I am not clear, could you please give more details</description>
      <pubDate>Thu, 05 Sep 2019 15:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586444#M14494</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-05T15:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586447#M14495</link>
      <description>Right now the bar subgroup (quarter) displayed by stacked—-I want lattice displayed and at the each bar quarter the counts should show not the actual quarter values. Thank you.</description>
      <pubDate>Thu, 05 Sep 2019 15:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586447#M14495</guid>
      <dc:creator>Zula</dc:creator>
      <dc:date>2019-09-05T15:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586453#M14497</link>
      <description>&lt;P&gt;Are you fine with this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;legend1 position=(right bottom inside) across=1 label=none shape=bar(.10in,.10in) mode=protect;
proc gchart data=sashelp.prdsale;
hbar quarter / DISCRETE type=sum sumvar=actual sum sumlabel='Counts' descending group=product subgroup=region
maxis=axis1 raxis=axis2 gaxis=axis3 legend=legend1 noframe PATTERNID=subgroup ;
run;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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/32228i5C9C3574D3FD7FE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 15:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586453#M14497</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-05T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586482#M14501</link>
      <description>&lt;P&gt;Can you take prdsales and show what you actually want either by drawing it or doing it in Excel and then we can try to help you out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried SGPLOT or are you using GCHART for a specific reason - the graphic types from SGPLOT are nicer and higher quality and I find it significantly easier to work with in comparison to SAS/GRAPH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/101057"&gt;@Zula&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Right now the bar subgroup (quarter) displayed by stacked—-I want lattice displayed and at the each bar quarter the counts should show not the actual quarter values. Thank you.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 17:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-GCHART/m-p/586482#M14501</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-05T17:01:26Z</dc:date>
    </item>
  </channel>
</rss>

