<?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: ODS/rtf -- no legends? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-no-legends/m-p/34757#M5012</link>
    <description>After more fishing around, I&lt;BR /&gt;
discovered that the legend only prints out on a vbar graph if you&lt;BR /&gt;
designate subgroup=TTFD in the list of items after the vbar statement,&lt;BR /&gt;
as well as having pre-defined legend1 and designated legend=legend1 in&lt;BR /&gt;
the vbar statement.  The problem then is that the error bars are&lt;BR /&gt;
omitted.  So, to get around all this and have axis subgroups that were&lt;BR /&gt;
easier to read, I decided to use a horizontal bar graph (hbar).</description>
    <pubDate>Mon, 28 Jul 2008 21:31:28 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-28T21:31:28Z</dc:date>
    <item>
      <title>ODS/rtf -- no legends?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-no-legends/m-p/34756#M5011</link>
      <description>When trying to export a graph via ODS in to an RTF file, the legends are not appearing in the output file.  I've got a sample of the source file below -- am I missing something that I need, or clearing something that I shouldn't?  or is this an issue with the export (using 9.1.3)?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Matt&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods rtf file='7-16-08 vBarVACT-SamplesAdapt2.rtf' bodytitle style=style.rtf;&lt;BR /&gt;
goptions reset=all border device=java;&lt;BR /&gt;
goptions gunit=pct noborder cback=white&lt;BR /&gt;
        colors=(ligr dagr black) ctext=black autosize=on;&lt;BR /&gt;
legend1&lt;BR /&gt;
label=(Position=top j=center 'TTFD' j=center '(mg/kg BW)&lt;BR /&gt;
Value=(j=left '0' j=left '100' j=left '340')&lt;BR /&gt;
across=1 down=3&lt;BR /&gt;
mode=share&lt;BR /&gt;
position=(Top right inside);&lt;BR /&gt;
&lt;BR /&gt;
/*Note:  have to edit graph to get legend inside plot--or use "hotfix"*/&lt;BR /&gt;
proc gchart data=sasuser.IntegLong;&lt;BR /&gt;
where Sample&amp;lt;11;&lt;BR /&gt;
vbar TTFD /discrete type=mean mean  &lt;BR /&gt;
        sumvar=VACTV&lt;BR /&gt;
        midpoints=0 100 340 &lt;BR /&gt;
        Group=Sample&lt;BR /&gt;
        patternid=midpoint&lt;BR /&gt;
        errorbar=Top&lt;BR /&gt;
        noframe&lt;BR /&gt;
        raxis=axis1  &lt;BR /&gt;
        maxis=axis2 &lt;BR /&gt;
        coutline=black&lt;BR /&gt;
        legend=legend1;&lt;BR /&gt;
 /* modify axes */ &lt;BR /&gt;
axis1 label=(a=90 'Vertical Activity')  c=black; &lt;BR /&gt;
axis2 label=none value=none c=black;&lt;BR /&gt;
pattern1 value=solid color=ltgray;&lt;BR /&gt;
pattern2 value=solid color=megr;&lt;BR /&gt;
pattern3 value=solid color=black;&lt;BR /&gt;
&lt;BR /&gt;
Title j=c 'Integra Study' &lt;BR /&gt;
j=c 'Effect of TTFD on Vertical Activity During Adaptation';&lt;BR /&gt;
Title2 '(3-min Sample Periods #1-#8)';&lt;BR /&gt;
Title3 '(95% Confidence Limits)';&lt;BR /&gt;
run;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
ods listing;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 28 Jul 2008 19:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-no-legends/m-p/34756#M5011</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-28T19:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS/rtf -- no legends?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-no-legends/m-p/34757#M5012</link>
      <description>After more fishing around, I&lt;BR /&gt;
discovered that the legend only prints out on a vbar graph if you&lt;BR /&gt;
designate subgroup=TTFD in the list of items after the vbar statement,&lt;BR /&gt;
as well as having pre-defined legend1 and designated legend=legend1 in&lt;BR /&gt;
the vbar statement.  The problem then is that the error bars are&lt;BR /&gt;
omitted.  So, to get around all this and have axis subgroups that were&lt;BR /&gt;
easier to read, I decided to use a horizontal bar graph (hbar).</description>
      <pubDate>Mon, 28 Jul 2008 21:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-no-legends/m-p/34757#M5012</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-28T21:31:28Z</dc:date>
    </item>
  </channel>
</rss>

