<?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: increase the line size in the keylegend. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815730#M22872</link>
    <description>Hi,&lt;BR /&gt;Thanks for the suggestion, I have updated my code as below:&lt;BR /&gt;The below code error free outputs but have 3 warnings:&lt;BR /&gt;&lt;BR /&gt;WARNING: The ScatterPlot statement named 'lgnd1' will not be drawn because one or more of the required arguments were not supplied.&lt;BR /&gt;WARNING: The SeriesPlot statement named 'lgnd2' will not be drawn because one or more of the required arguments were not supplied.&lt;BR /&gt;WARNING: A blank graph is produced. For possible causes, see the graphics template language documentation.&lt;BR /&gt;&lt;BR /&gt;.When I try to give legend item , it gives the following error:&lt;BR /&gt;&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;&lt;BR /&gt;how can i update this with increased line width in the legend ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*************************************************************************code below: **************************************&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods pdf file="&amp;amp;g_outfile..&amp;amp;g_fontsize" nobookmarkgen style=idsl dpi=600;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=&amp;amp;G_DDDATASETNAME dattrmap=myattr noautolegend tmplout='temp.txt';&lt;BR /&gt;&lt;BR /&gt;scatter x=avisn y=aval_median / group=trt01a yerrorlower=aval_p5 yerrorupper=aval_p95 attrid=trt01a name="lgnd1" ;&lt;BR /&gt;series x=avisn y=aval_median /group=trt01ax attrid=trt01ax name="lgnd2";&lt;BR /&gt;&lt;BR /&gt;refline 1.35 / axis=y label="1.35 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=solid color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;refline 0.65 / axis=y label="0.65 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=longdash color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;refline 0.166 / axis=y label="0.166 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=shortdash color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;xaxis values=(5 to 42 by 1) valuesdisplay=("Week 5" "Week 6" "" "" "Week 9" "Week 10" "" "" "" "" "" "" "Week 17" "Week 18" "" "" "" "" "" "" "Week 25" "Week 26" "" "" "" "" "" "" "Week 33" "Week 34" "" "" "" "" "" "" "Week 41" "") label= 'Weeks from Randomization' Valuesrotate=Diagonal fitpolicy=rotatethin valueattrs=(size=7);&lt;BR /&gt;&lt;BR /&gt;yaxis label="Plasma CAB (mcg/mL)" TYPE=LOG LOGSTYLE=LOGEXPAND LOGBASE=10;&lt;BR /&gt;&lt;BR /&gt;*legenditem name="lgnd2" / lineattrs=(color=orange pattern=1 thickness=5) ;&lt;BR /&gt;&lt;BR /&gt;keylegend "lgnd2" /title="" ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;options nofmterr;&lt;BR /&gt;data dddata.xx _null_;&lt;BR /&gt;infile 'temp.txt';&lt;BR /&gt;input;&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'statgraph sgplot', 'statgraph axistables');&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'columnweights=preferred','columnweights=(0.2 0.1 0.4 0.15 0.15)');&lt;BR /&gt;call execute(_infile_);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc sgrender data=sashelp.class template=axistables;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods pdf close;&lt;BR /&gt;ods listing;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 30 May 2022 17:54:22 GMT</pubDate>
    <dc:creator>Manj</dc:creator>
    <dc:date>2022-05-30T17:54:22Z</dc:date>
    <item>
      <title>increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815445#M22860</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following plot where i need to increase the width of the line in legend. I have tried using LEGENDITEM and KEYLEGEND , but it gives error when i use LEGENDITEM. Is there a way to increase the line in the legend marked in the figure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manj_0-1653673363648.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71819iB8FF802418C4F3A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manj_0-1653673363648.png" alt="Manj_0-1653673363648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My code and the error below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgplot data=xxx dattrmap=myattr noautolegend;&lt;BR /&gt;scatter x=avisn y=aval_median / group=trt01a yerrorlower=aval_p5 yerrorupper=aval_p95 attrid=trt01a ;&lt;BR /&gt;series x=avisn y=aval_median /group=trt01ax attrid=trt01ax name="lgnd1" ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;refline 1.35 / axis=y label="1.35 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=solid color=grey thickness=0.01);&lt;/P&gt;&lt;P&gt;refline 0.65 / axis=y label="0.65 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=longdash color=grey thickness=0.01);&lt;/P&gt;&lt;P&gt;refline 0.166 / axis=y label="0.166 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=shortdash color=grey thickness=0.01);&lt;/P&gt;&lt;P&gt;xaxis values=(5 to 42 by 1) valuesdisplay=("Week 5" "Week 6" "" "" "Week 9" "Week 10" "" "" "" "" "" "" "Week 17" "Week 18" "" "" "" "" "" "" "Week 25" "Week 26" "" "" "" "" "" "" "Week 33" "Week 34" "" "" "" "" "" "" "Week 41" "") label= 'Weeks from Randomization'&lt;BR /&gt;Valuesrotate=Diagonal fitpolicy=rotatethin valueattrs=(size=7);&lt;BR /&gt;&lt;BR /&gt;yaxis label="Plasma CCC (mcg/mL)" TYPE=LOG LOGSTYLE=LOGEXPAND LOGBASE=10;&lt;/P&gt;&lt;P&gt;legenditem type=markerline name="lgnditm" / lineattrs=(color=bib pattern=1 thickness=5);&lt;/P&gt;&lt;P&gt;keylegend "lgnd1" "lgnditm" /title="" ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;******************ERROR below*************&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manj_0-1653675114266.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71821i2ABBFE6EADC7F129/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manj_0-1653675114266.png" alt="Manj_0-1653675114266.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815445#M22860</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-27T18:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815448#M22861</link>
      <description>Have you tried the LINELENGTH= option in the KEYLEGEND statement?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0xmbppzx71smbn1203aaif96z86.htm#n1qt8b9hqkqwekn1o92urvr1pce8" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p0xmbppzx71smbn1203aaif96z86.htm#n1qt8b9hqkqwekn1o92urvr1pce8&lt;/A&gt;</description>
      <pubDate>Fri, 27 May 2022 17:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815448#M22861</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-05-27T17:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815449#M22862</link>
      <description>LINELENGTH adjusts the length of the line, Waht I need is the width of the line to be increased.</description>
      <pubDate>Fri, 27 May 2022 18:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815449#M22862</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-27T18:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815452#M22863</link>
      <description>&lt;P&gt;You would use options for KEYLEGEND of TITLEATTRS=(&amp;lt;options&amp;gt;) to set text size and appearance for the title text of the legend and VALUEATTRS=(&amp;lt;options&amp;gt;) to change the text size and appearance of the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please when posting things related to errors copy the code and all the messages for the procedure or data step, then on the forum open a text box using the &amp;lt;/&amp;gt; icon and paste all the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the code is in a macro then set OPTIONS MPRINT; before executing the macro and copy and paste the text from the log (yes it will be a tad long).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One reason to ask for ALL the text is because the Error you have shown has nothing to do with either Keylegend or Legenditem but with a LABEL statement that you do not even show in your "code".&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:06:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815452#M22863</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-05-27T18:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815454#M22864</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;i dont want to do anything with the text or values and hence Titleattrs and valueattrs doesnt apply, all i want is to increase the width of the line in the legend . The error shows about legenditem only, for better visibility, i have pasted the 'image' of the error message.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815454#M22864</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-27T18:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815458#M22865</link>
      <description>&lt;P&gt;What version of SAS are you using (including maintenance version)?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815458#M22865</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-05-27T18:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815460#M22866</link>
      <description>SAS 9.4.&lt;BR /&gt;Below is what I see in the logs:&lt;BR /&gt;&lt;BR /&gt;NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA.&lt;BR /&gt;NOTE: SAS (r) Proprietary Software 9.4 (TS1M3)</description>
      <pubDate>Fri, 27 May 2022 18:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815460#M22866</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-27T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815465#M22867</link>
      <description>&lt;P&gt;The LEGENDITEM statement was not introduced in the SG procedures until 9.4 (maintenance level 5), so that is why you are getting the error. However, it is available to you at the GTL level. You temporarily remove the LEGENDITEM option from your SGPLOT code and use TMPLOUT to generate the GTL code. Then, add the LEGENDITEM statement to the GTL code and use the SGRENDER procedure to render the template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need any more details on how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815465#M22867</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-05-27T18:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815730#M22872</link>
      <description>Hi,&lt;BR /&gt;Thanks for the suggestion, I have updated my code as below:&lt;BR /&gt;The below code error free outputs but have 3 warnings:&lt;BR /&gt;&lt;BR /&gt;WARNING: The ScatterPlot statement named 'lgnd1' will not be drawn because one or more of the required arguments were not supplied.&lt;BR /&gt;WARNING: The SeriesPlot statement named 'lgnd2' will not be drawn because one or more of the required arguments were not supplied.&lt;BR /&gt;WARNING: A blank graph is produced. For possible causes, see the graphics template language documentation.&lt;BR /&gt;&lt;BR /&gt;.When I try to give legend item , it gives the following error:&lt;BR /&gt;&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;&lt;BR /&gt;how can i update this with increased line width in the legend ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*************************************************************************code below: **************************************&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods pdf file="&amp;amp;g_outfile..&amp;amp;g_fontsize" nobookmarkgen style=idsl dpi=600;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=&amp;amp;G_DDDATASETNAME dattrmap=myattr noautolegend tmplout='temp.txt';&lt;BR /&gt;&lt;BR /&gt;scatter x=avisn y=aval_median / group=trt01a yerrorlower=aval_p5 yerrorupper=aval_p95 attrid=trt01a name="lgnd1" ;&lt;BR /&gt;series x=avisn y=aval_median /group=trt01ax attrid=trt01ax name="lgnd2";&lt;BR /&gt;&lt;BR /&gt;refline 1.35 / axis=y label="1.35 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=solid color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;refline 0.65 / axis=y label="0.65 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=longdash color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;refline 0.166 / axis=y label="0.166 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=shortdash color=grey thickness=0.01);&lt;BR /&gt;&lt;BR /&gt;xaxis values=(5 to 42 by 1) valuesdisplay=("Week 5" "Week 6" "" "" "Week 9" "Week 10" "" "" "" "" "" "" "Week 17" "Week 18" "" "" "" "" "" "" "Week 25" "Week 26" "" "" "" "" "" "" "Week 33" "Week 34" "" "" "" "" "" "" "Week 41" "") label= 'Weeks from Randomization' Valuesrotate=Diagonal fitpolicy=rotatethin valueattrs=(size=7);&lt;BR /&gt;&lt;BR /&gt;yaxis label="Plasma CAB (mcg/mL)" TYPE=LOG LOGSTYLE=LOGEXPAND LOGBASE=10;&lt;BR /&gt;&lt;BR /&gt;*legenditem name="lgnd2" / lineattrs=(color=orange pattern=1 thickness=5) ;&lt;BR /&gt;&lt;BR /&gt;keylegend "lgnd2" /title="" ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;options nofmterr;&lt;BR /&gt;data dddata.xx _null_;&lt;BR /&gt;infile 'temp.txt';&lt;BR /&gt;input;&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'statgraph sgplot', 'statgraph axistables');&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'columnweights=preferred','columnweights=(0.2 0.1 0.4 0.15 0.15)');&lt;BR /&gt;call execute(_infile_);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc sgrender data=sashelp.class template=axistables;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods pdf close;&lt;BR /&gt;ods listing;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2022 17:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815730#M22872</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-30T17:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: increase the line size in the keylegend.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815800#M22873</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The below code error free outputs but have 3 warnings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WARNING: The ScatterPlot statement named 'lgnd1' will not be drawn because one or more of the required arguments were not supplied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WARNING: The SeriesPlot statement named 'lgnd2' will not be drawn because one or more of the required arguments were not supplied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WARNING: A blank graph is produced. For possible causes, see the graphics template language documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.When I try to give legend item , it gives the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i update this with increased line width in the legend ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*************************************************************************code below: **************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ods listing close;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ods pdf file="&amp;amp;g_outfile..&amp;amp;g_fontsize" nobookmarkgen style=idsl dpi=600;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;proc sgplot data=&amp;amp;G_DDDATASETNAME dattrmap=myattr noautolegend tmplout='temp.txt';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;scatter x=avisn y=aval_median / group=trt01a yerrorlower=aval_p5 yerrorupper=aval_p95 attrid=trt01a name="lgnd1" ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;series x=avisn y=aval_median /group=trt01ax attrid=trt01ax name="lgnd2";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;refline 1.35 / axis=y label="1.35 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=solid color=grey thickness=0.01);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;refline 0.65 / axis=y label="0.65 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=longdash color=grey thickness=0.01);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;refline 0.166 / axis=y label="0.166 mcg/mL" labelpos=max labelloc=inside labelattrs=(size=7 color=grey) lineattrs=(pattern=shortdash color=grey thickness=0.01);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xaxis values=(5 to 42 by 1) valuesdisplay=("Week 5" "Week 6" "" "" "Week 9" "Week 10" "" "" "" "" "" "" "Week 17" "Week 18" "" "" "" "" "" "" "Week 25" "Week 26" "" "" "" "" "" "" "Week 33" "Week 34" "" "" "" "" "" "" "Week 41" "") label= 'Weeks from Randomization' Valuesrotate=Diagonal fitpolicy=rotatethin valueattrs=(size=7);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yaxis label="Plasma CAB (mcg/mL)" TYPE=LOG LOGSTYLE=LOGEXPAND LOGBASE=10;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*legenditem name="lgnd2" / lineattrs=(color=orange pattern=1 thickness=5) ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;keylegend "lgnd2" /title="" ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;options nofmterr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data dddata.xx _null_;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;infile 'temp.txt';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;input;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_infile_ = tranwrd(_infile_, 'statgraph sgplot', 'statgraph axistables');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_infile_ = tranwrd(_infile_, 'columnweights=preferred','columnweights=(0.2 0.1 0.4 0.15 0.15)');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call execute(_infile_);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;proc sgrender data=sashelp.class template=axistables;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ods pdf close;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ods listing;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 10:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/increase-the-line-size-in-the-keylegend/m-p/815800#M22873</guid>
      <dc:creator>Manj</dc:creator>
      <dc:date>2022-05-31T10:14:02Z</dc:date>
    </item>
  </channel>
</rss>

