<?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: SGPLOT in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT/m-p/608909#M17782</link>
    <description>&lt;P&gt;Please try the below code, replace the group= with response and it should generate the expected output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA = HypRslt.StatePercents;
		VBAR StateCd / response= ColPercent
							  GROUPDISPLAY=cluster
							  DATALABEL = ColPercent;
run;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2019 02:44:51 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2019-12-03T02:44:51Z</dc:date>
    <item>
      <title>SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT/m-p/608908#M17781</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE1 "Hypertension-Related Death Rates by State";
PROC SGPLOT DATA = HypRslt.StatePercents;
		VBAR StateCd / Group = ColPercent
							  GROUPDISPLAY=cluster
							  DATALABEL = ColPercent
							  ;
							  
		
	REFLINE 1.8
		/ AXIS = Y
		  LABELLOC = inside
		  LINEATTRS=(COLOR = INDIGO
		  			 PATTERN = SHORTDASH)
		  LABEL = 'National Average = 1.8';
		  
	XAXIS LABEL = 'State Code'
		  LABELATTRS= (WEIGHT = BOLD)
		  ;
		  
	STYLEATTRS DATACOLORS= (LIGHTSALMON)
			   DATACONTRASTCOLORS= (BLACK);
			   
	YAXIS LABEL = 'PERCENT'
		  OFFSETMIN= 0
		  LABELATTRS= (WEIGHT = BOLD)
		  VALUES = (0,1,2,3,4)
		  GRID;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I submit the code above, SAS is generating a flat bar graph like Graph 1 attached below. What code do I need to fix to get SAS to produce a graph like Graph 2 attached below? (All of the data used are fictitious data that were created for the sole purpose of illustrating a concept). Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 02:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SGPLOT/m-p/608908#M17781</guid>
      <dc:creator>walkerel</dc:creator>
      <dc:date>2019-12-03T02:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT/m-p/608909#M17782</link>
      <description>&lt;P&gt;Please try the below code, replace the group= with response and it should generate the expected output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA = HypRslt.StatePercents;
		VBAR StateCd / response= ColPercent
							  GROUPDISPLAY=cluster
							  DATALABEL = ColPercent;
run;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 02:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SGPLOT/m-p/608909#M17782</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-12-03T02:44:51Z</dc:date>
    </item>
  </channel>
</rss>

