<?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: Proc SGPLOT - Legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727791#M21174</link>
    <description>&lt;P&gt;For the record, there is another way to do this that might even be more desirable. Instead of specifying the COLOR in FILLATTRS to the background color, just set TRANSPARENCY=1 in the FILLATTRS. That way, you will get the correct appearance regardless of the ODS style you use.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 15:57:23 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2021-03-19T15:57:23Z</dc:date>
    <item>
      <title>Proc SGPLOT - Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727729#M21169</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using sgplot to do 2 histograms in a figure, comparing the distribution of 2 groups (one in blue, one in red). I chose to keep the histogram bars empty (nofill option). The legend therefore shows only a colored line, one red and one blue. I would however like to have boxes in the legend, not lines. To match the appearance of my histogram bars, I would like to therefore have empty/white boxes, with colored outlines matching my groups. I can't seem to figure out how to do this. I can either have just lines, or fully colored red and blue boxes. Any experience/ideas with that? Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 11:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727729#M21169</guid>
      <dc:creator>A_M_</dc:creator>
      <dc:date>2021-03-19T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SGPLOT - Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727741#M21170</link>
      <description>&lt;P&gt;The way to do that is to set the FILLATTRS color to be the same color as the wall (white, for example) instead of turning the fill off. That way, the legend treats the representation as if it was filled, giving you the box. Let me know if this works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 12:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727741#M21170</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-03-19T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SGPLOT - Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727777#M21173</link>
      <description>Works great. Thanks!</description>
      <pubDate>Fri, 19 Mar 2021 15:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727777#M21173</guid>
      <dc:creator>A_M_</dc:creator>
      <dc:date>2021-03-19T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SGPLOT - Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727791#M21174</link>
      <description>&lt;P&gt;For the record, there is another way to do this that might even be more desirable. Instead of specifying the COLOR in FILLATTRS to the background color, just set TRANSPARENCY=1 in the FILLATTRS. That way, you will get the correct appearance regardless of the ODS style you use.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 15:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-SGPLOT-Legend/m-p/727791#M21174</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-03-19T15:57:23Z</dc:date>
    </item>
  </channel>
</rss>

