<?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 band keylegend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-band-keylegend/m-p/73813#M2692</link>
    <description>Where is your name="bmi" option??? The link between the KEYLEGEND and the plot statement is the fact that you use the name= name(s) on the plot statement and on the keylegend statement. A KEYLEGEND statement has to be "linked" in this manner.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Wed, 07 Apr 2010 07:07:56 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-04-07T07:07:56Z</dc:date>
    <item>
      <title>sgplot band keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-band-keylegend/m-p/73812#M2691</link>
      <description>In my HTML output I don't see the keylegend "bmi" (with title='Rate'). &lt;BR /&gt;
How do I fix this?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
goptions device=png;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods html file='Band_Plots.html' path='C:\Documents and Settings\SASCode\Field_Office' style=styles.bmi;&lt;BR /&gt;
ods graphics / reset width=900px height=700px imagename="Band_Plots" imagefmt=png;&lt;BR /&gt;
title1 'Small';&lt;BR /&gt;
proc sgplot data=mus;&lt;BR /&gt;
  band x=injury_cnt upper=upper_hours lower=lower_hours / &lt;BR /&gt;
       transparency=.5 group=category name="rate";&lt;BR /&gt;
  xaxis min=0 max=20 label='Injury' grid;&lt;BR /&gt;
  yaxis min=0 max=200000  label='Hours'  grid;&lt;BR /&gt;
  keylegend "bmi" / position=bottom location=outside across=4 title='Rate: '; &lt;BR /&gt;
  series x=inj_u y=hour_u1 / datalabel=inj_yr lineattrs=(pattern=solid thickness=2px)  &lt;BR /&gt;
            markerattrs=(symbol=circlefilled ) markers group=job_class name="pts";&lt;BR /&gt;
  keylegend "pts" / position=bottomleft location=outside across=1 title='Job:';&lt;BR /&gt;
  inset "Rate=Injury / Hours"  " " / &lt;BR /&gt;
            position=bottomright textattrs=graphfootnotetext;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 07 Apr 2010 06:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-band-keylegend/m-p/73812#M2691</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-04-07T06:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot band keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/sgplot-band-keylegend/m-p/73813#M2692</link>
      <description>Where is your name="bmi" option??? The link between the KEYLEGEND and the plot statement is the fact that you use the name= name(s) on the plot statement and on the keylegend statement. A KEYLEGEND statement has to be "linked" in this manner.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 07 Apr 2010 07:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/sgplot-band-keylegend/m-p/73813#M2692</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-07T07:07:56Z</dc:date>
    </item>
  </channel>
</rss>

