<?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: What am I doing Wrong in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488854#M16812</link>
    <description>&lt;P&gt;Along with your response and "PROC Star's"&amp;nbsp; response, this works well.&amp;nbsp; Thanks!!!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 13:04:28 GMT</pubDate>
    <dc:creator>bendsteel6</dc:creator>
    <dc:date>2018-08-22T13:04:28Z</dc:date>
    <item>
      <title>What am I doing Wrong</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488684#M16795</link>
      <description>&lt;P&gt;I must be just not seeing something.&amp;nbsp; I simply want a chart that has a VBAR for each of these attributes grouped by the 'entity':&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Entity&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;OSAT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;DP&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;LTR&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;MLTP&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;WADO&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;TTIA&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;COMM&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;TTSE&lt;/STRONG&gt;&lt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;/TD&gt;&lt;TD&gt;0.8&lt;/TD&gt;&lt;TD&gt;0.81&lt;/TD&gt;&lt;TD&gt;0.9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart I would like it to look like is attached.&amp;nbsp; This should be very simple but I'm missing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 19:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488684#M16795</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2018-08-21T19:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing Wrong</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488697#M16796</link>
      <description>&lt;P&gt;You need to transpose your data so that you have just three variables: Level, Entity, and Value. For each Level (National, etc.), you should have all Entities and their corresponding Values. The resulting data set should be 36 observation long with three variables. Then, the following SGPLOT code should give you the chart you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=mydataset;
xaxis display=(nolabel);
vbarparm category=level response=value / group=entity groupdisplay=cluster;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 19:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488697#M16796</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-08-21T19:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing Wrong</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488700#M16799</link>
      <description>&lt;P&gt;Transpose the data and then use SGPLOT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines dsd dlm=',' missover;
input Entity :$10. OSAT DP	LTR	MLTP	WADO	TTIA	COMM	TTSE	RSAT;
datalines;
National,0.82,0.71,0.69,0.5,0.88,0.82,0.81,0.78,0.87
CENTRAL,0.83,0.74,0.72,0.48,0.89,0.83,0.82,0.8,0.88
Group,0.81,0.69,0.66,0.44,0.88,0.79,0.77,0.78,0.86
Dealer1,0.88,0.76,0.73,0.37,0.89,0.81,0.8,0.81,0.9
;
run;

proc transpose data=have out=have_t ;
by Entity notsorted;
run;

proc sgpanel data=have_t;
  panelby Entity / layout=columnlattice onepanel colheaderpos=bottom rows=1 novarname noborder;
vbar _name_  / group=_name_ response=Col1 stat=sum  nostatlabel; 
colaxis  display=none ;
label col1="" _name_="";
rowaxis grid;
keylegend / position=right;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 20:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488700#M16799</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-08-21T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing Wrong</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488854#M16812</link>
      <description>&lt;P&gt;Along with your response and "PROC Star's"&amp;nbsp; response, this works well.&amp;nbsp; Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488854#M16812</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2018-08-22T13:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: What am I doing Wrong</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488858#M16813</link>
      <description>&lt;P&gt;This along with "SAS Super FREQ's" response, I was able to accomplish what I need, and to realize that yes, I do have to transpose the data.&amp;nbsp; I was hoping to be able to graph it without having to do that.&amp;nbsp; But this works!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/What-am-I-doing-Wrong/m-p/488858#M16813</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2018-08-22T13:05:55Z</dc:date>
    </item>
  </channel>
</rss>

