<?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: Showing Values for vbar in sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73194#M2652</link>
    <description>Hi Dan,&lt;BR /&gt;
             My SAS version is : SAS 9.2 TS Level2MO. The workaround worked.&lt;BR /&gt;
&lt;BR /&gt;
         I appreciate all your help.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
    <pubDate>Thu, 24 Sep 2009 22:14:34 GMT</pubDate>
    <dc:creator>AmitKB</dc:creator>
    <dc:date>2009-09-24T22:14:34Z</dc:date>
    <item>
      <title>Showing Values for vbar in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73191#M2649</link>
      <description>Hi all,&lt;BR /&gt;
           I tried to use the datalabel option to display values for vbar in proc sgplot. It gives syntax error.&lt;BR /&gt;
&lt;BR /&gt;
          Does datalabel option not work. What is a workaroud to display values.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Thu, 24 Sep 2009 19:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73191#M2649</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2009-09-24T19:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Values for vbar in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73192#M2650</link>
      <description>DATALABEL support for bar charts was not added until 9.2 phase 2.  Do you have 9.2 phase 1 or phase 2?</description>
      <pubDate>Thu, 24 Sep 2009 20:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73192#M2650</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-09-24T20:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Values for vbar in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73193#M2651</link>
      <description>As a workaround, you could use GTL with a bar/scatter overlay.  The code below will produce a bar chart like you would see from SGPLOT with the labels added:&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define statgraph barlabel;&lt;BR /&gt;
begingraph;&lt;BR /&gt;
layout overlay;&lt;BR /&gt;
  barchartparm x=age y=height;&lt;BR /&gt;
  scatterplot x=age y=eval(height+5) / markercharacter=height;&lt;BR /&gt;
endlayout;&lt;BR /&gt;
endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc summary data=sashelp.class noprint nway;&lt;BR /&gt;
class age;&lt;BR /&gt;
var height;&lt;BR /&gt;
output out=barsum sum=;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc sgrender data=barsum template=barlabel; run;</description>
      <pubDate>Thu, 24 Sep 2009 20:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73193#M2651</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-09-24T20:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Values for vbar in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73194#M2652</link>
      <description>Hi Dan,&lt;BR /&gt;
             My SAS version is : SAS 9.2 TS Level2MO. The workaround worked.&lt;BR /&gt;
&lt;BR /&gt;
         I appreciate all your help.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Thu, 24 Sep 2009 22:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73194#M2652</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2009-09-24T22:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Values for vbar in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73195#M2653</link>
      <description>TS2 is phase 2, so DATALABEL on the bar chart should be available to you.  Does the following code run for you?&lt;BR /&gt;
&lt;BR /&gt;
proc sgplot data=sashelp.class;&lt;BR /&gt;
vbar age / response=height stat=mean datalabel;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 25 Sep 2009 04:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Showing-Values-for-vbar-in-sgplot/m-p/73195#M2653</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-09-25T04:07:51Z</dc:date>
    </item>
  </channel>
</rss>

