<?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 sgplot and legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74146#M2720</link>
    <description>I am using the below script to create a bullet chart. I am not asking for a legend but it's still gived me the legend.&lt;BR /&gt;
&lt;BR /&gt;
ods graphics  / reset width=250 height=130   ;&lt;BR /&gt;
proc sgplot data=chart  ;	  		&lt;BR /&gt;
		 hbar binner/ response=bin3  transparency=0.2 nooutline barwidth=1 fillattrs=(color=gray) ;&lt;BR /&gt;
		 hbar binner/ response=actual  transparency=0.2 nooutline barwidth=.3 fillattrs=(color=black) ;&lt;BR /&gt;
		 refline .71 /lineattrs=(color=red Thickness=4px ) axis=x	;	&lt;BR /&gt;
		 yaxis display =none;&lt;BR /&gt;
		 xaxis display=(nolabel);&lt;BR /&gt;
		&lt;BR /&gt;
run;</description>
    <pubDate>Wed, 07 Apr 2010 17:37:52 GMT</pubDate>
    <dc:creator>Jaime</dc:creator>
    <dc:date>2010-04-07T17:37:52Z</dc:date>
    <item>
      <title>sgplot and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74146#M2720</link>
      <description>I am using the below script to create a bullet chart. I am not asking for a legend but it's still gived me the legend.&lt;BR /&gt;
&lt;BR /&gt;
ods graphics  / reset width=250 height=130   ;&lt;BR /&gt;
proc sgplot data=chart  ;	  		&lt;BR /&gt;
		 hbar binner/ response=bin3  transparency=0.2 nooutline barwidth=1 fillattrs=(color=gray) ;&lt;BR /&gt;
		 hbar binner/ response=actual  transparency=0.2 nooutline barwidth=.3 fillattrs=(color=black) ;&lt;BR /&gt;
		 refline .71 /lineattrs=(color=red Thickness=4px ) axis=x	;	&lt;BR /&gt;
		 yaxis display =none;&lt;BR /&gt;
		 xaxis display=(nolabel);&lt;BR /&gt;
		&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 07 Apr 2010 17:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74146#M2720</guid>
      <dc:creator>Jaime</dc:creator>
      <dc:date>2010-04-07T17:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74147#M2721</link>
      <description>Use the NOAUTOLEGEND option on the proc statement to turn off the legend.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan</description>
      <pubDate>Wed, 07 Apr 2010 19:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74147#M2721</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-04-07T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74148#M2722</link>
      <description>Thanks. That worked.&lt;BR /&gt;
Another question. &lt;BR /&gt;
I an using databels to show the value of the measure variable. &lt;BR /&gt;
By default the value appears at the end of the bar. Is there a way of making it appear  in the bottom inside of the bar chart.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc sgplot data=chart NOAUTOLEGEND    ;	  		&lt;BR /&gt;
		 hbar binner/ response=bin3  transparency=0.2 nooutline barwidth=1 fillattrs=(color=cxD9D9D9) ;&lt;BR /&gt;
		 hbar binner/ response=bin2  transparency=0.2 nooutline barwidth=1 fillattrs=(color=cxBDBDBD) ;&lt;BR /&gt;
		 hbar binner/ response=bin1  transparency=0.2 nooutline barwidth=1 fillattrs=(color=cx636363) ;&lt;BR /&gt;
		 hbar binner/ response=actual  transparency=0.2 nooutline barwidth=.3 fillattrs=(color=black) datalabel=bottom;&lt;BR /&gt;
		 refline .71 /lineattrs=(color=red Thickness=4px ) axis=x	;	&lt;BR /&gt;
		 yaxis display =none;&lt;BR /&gt;
		 xaxis display=(nolabel);		&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 07 Apr 2010 20:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-and-legend/m-p/74148#M2722</guid>
      <dc:creator>Jaime</dc:creator>
      <dc:date>2010-04-07T20:24:56Z</dc:date>
    </item>
  </channel>
</rss>

