<?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: Line thickness in legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695137#M20626</link>
    <description>&lt;P&gt;In SAS 9.4M5, PROC SGPLOT supports the LEGENDITEM statement. See the section "Customize items in a legend" in the article &lt;A href="https://blogs.sas.com/content/iml/2018/12/03/tips-customize-legends-proc-sgplot.html" target="_self"&gt;"5 tips for customizing legends in PROC SGPLOT in SAS"&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 11:28:47 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-10-29T11:28:47Z</dc:date>
    <item>
      <title>Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694294#M20597</link>
      <description>&lt;P&gt;Dear All,&lt;BR /&gt;Can I please ask how do we increase the line thickness in legend?&lt;BR /&gt;And how do we add a black thin border around the bars and as well as to the legend entries?&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2020-10-27_0-10-21.png" style="width: 893px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51063i66D7E1FD77C323CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-10-27_0-10-21.png" alt="2020-10-27_0-10-21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sgplot data=final;
vbar vara / group=xvar response=percent seglabel seglabelformat=f6.2 
grouporder=data ;

keylegend /* "0" "1" "2" "3" "4" "5" "6" "7" "8"*/ / 
title=" " across=2 down=3 scale=2 valueattrs=(size=8) fillheight=10 noborder type=line  ;

xaxis label=" " values=(1,2,3,4,5,6,7,8,9,10) 
valuesdisplay=("1st (&amp;amp;c1.)" "2nd (&amp;amp;c2.)" "3rd (&amp;amp;c3.)" "4th (&amp;amp;c4.)"  "5th (&amp;amp;c5.)"  
"6th (&amp;amp;c6.)" "7th (&amp;amp;c7.)"  "8th (&amp;amp;c8.)" "9th (&amp;amp;c9.)" "10th(&amp;amp;c10.)") 
valueattrs=(size=7pt); 

yaxis label=" " values = (0 to 100 by 10) valuesdisplay=("0%" "10%" "20%" "30%" "40%" "50%" "60%" "70%" "80%" "90%" "100%");
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Oct 2020 16:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694294#M20597</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2020-10-26T16:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694446#M20600</link>
      <description>&lt;P&gt;What version of SAS are you in?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 08:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694446#M20600</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-10-27T08:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694487#M20601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;I use SAS 9.4.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 10:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/694487#M20601</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2020-10-27T10:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695026#M20623</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16719"&gt;@Miracle&lt;/a&gt;&amp;nbsp;If you use GTL, you can use the legenditem statement to increase the line thickness of the legend. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;legenditem type=markerline name="placebo" / lineattrs=(color=bib pattern=1 &lt;STRONG&gt;thickness=5&lt;/STRONG&gt;) label="Placebo";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you upload the final dataset or a sample dataset, I can show you an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Kriss Harris&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 20:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695026#M20623</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2020-10-28T20:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695088#M20625</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10604"&gt;@djrisks&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Yes I tried keylegend.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 03:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695088#M20625</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2020-10-29T03:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695137#M20626</link>
      <description>&lt;P&gt;In SAS 9.4M5, PROC SGPLOT supports the LEGENDITEM statement. See the section "Customize items in a legend" in the article &lt;A href="https://blogs.sas.com/content/iml/2018/12/03/tips-customize-legends-proc-sgplot.html" target="_self"&gt;"5 tips for customizing legends in PROC SGPLOT in SAS"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 11:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695137#M20626</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-10-29T11:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695138#M20627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16719"&gt;@Miracle&lt;/a&gt;, please look at the LEGENDITEM statement, instead of KEYLEGEND.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kriss&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 11:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695138#M20627</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2020-10-29T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Line thickness in legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695168#M20628</link>
      <description>&lt;P&gt;Ops, my apologies.&lt;BR /&gt;i was meant to say legenditem not keylegend.&lt;BR /&gt;Yes, I have used both legenditem and keylegend together.&lt;BR /&gt;Thank you all for your response&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10604"&gt;@djrisks&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 13:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Line-thickness-in-legend/m-p/695168#M20628</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2020-10-29T13:21:13Z</dc:date>
    </item>
  </channel>
</rss>

