<?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 Label Values Cut Short in PROC SGPLOT in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522254#M4391</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc format library=work;
value $Serving
'RN' = 'Nadal'
'RF' = 'Federer'
'ND'  = 'Djokovic'
'JI' = 'Isner'
;
run ;

*Lets combine the four datasets ;
data goats_isner ;
set isner_serve rafa_serve fed_serve djoker_serve ;
format Serving $Serving. ;
run ;

*Compare the four rallylen in one chart-fix format! ;
proc sgpanel data=goats_isner ;
panelby year ;
histogram rallylen / group=serving  dataskin=matte transparency=0.5 ;
label rallylen = "Rally Length" ;
keylegend / valueattrs = (Size=8) ;
title "Rally Length on Serve" ;
run ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is above with some output of the data below along with the generated plot. I got marked for spam but I am genuinely stuck on this. The output is cutting short on the legend labels to 4 characters but it reads in fine using the format I created so I am not sure why that is happening. I get "fede" instead of the entire "Federer" as I coded in the plot but my dataset reads it correctly So I am not sure why this is the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am a newbie here so I apologize for any lack of clarity in my post&lt;/P&gt;</description>
    <pubDate>Tue, 18 Dec 2018 16:05:34 GMT</pubDate>
    <dc:creator>banderson2112</dc:creator>
    <dc:date>2018-12-18T16:05:34Z</dc:date>
    <item>
      <title>Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522254#M4391</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc format library=work;
value $Serving
'RN' = 'Nadal'
'RF' = 'Federer'
'ND'  = 'Djokovic'
'JI' = 'Isner'
;
run ;

*Lets combine the four datasets ;
data goats_isner ;
set isner_serve rafa_serve fed_serve djoker_serve ;
format Serving $Serving. ;
run ;

*Compare the four rallylen in one chart-fix format! ;
proc sgpanel data=goats_isner ;
panelby year ;
histogram rallylen / group=serving  dataskin=matte transparency=0.5 ;
label rallylen = "Rally Length" ;
keylegend / valueattrs = (Size=8) ;
title "Rally Length on Serve" ;
run ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is above with some output of the data below along with the generated plot. I got marked for spam but I am genuinely stuck on this. The output is cutting short on the legend labels to 4 characters but it reads in fine using the format I created so I am not sure why that is happening. I get "fede" instead of the entire "Federer" as I coded in the plot but my dataset reads it correctly So I am not sure why this is the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am a newbie here so I apologize for any lack of clarity in my post&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522254#M4391</guid>
      <dc:creator>banderson2112</dc:creator>
      <dc:date>2018-12-18T16:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522270#M4392</link>
      <description>&lt;PRE&gt;/*moved the format $seving on serving variable from data step to proc sgpanel*/&lt;BR /&gt;&lt;BR /&gt;proc format library=work;
value $Serving
'RN' = 'Nadal'
'RF' = 'Federer'
'ND'  = 'Djokovic'
'JI' = 'Isner'
;
run ;

*Lets combine the four datasets ;
data goats_isner ;
set isner_serve rafa_serve fed_serve djoker_serve ;

run ;

*Compare the four rallylen in one chart-fix format! ;
proc sgpanel data=goats_isner ;
panelby year ;
histogram rallylen / group=serving  dataskin=matte transparency=0.5 ;
label rallylen = "Rally Length" ;
keylegend / valueattrs = (Size=8) ;&lt;BR /&gt;format serving $serving.;
title "Rally Length on Serve" ;
run ;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522270#M4392</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-12-18T16:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522339#M4415</link>
      <description>&lt;P&gt;Thanks Jag, I tried that earlier and just now and it still yields the same result unfortunately so it doesnt work&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 21:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522339#M4415</guid>
      <dc:creator>banderson2112</dc:creator>
      <dc:date>2018-12-18T21:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522340#M4416</link>
      <description>&lt;P&gt;I am unable to open your attachments. I don't know if you did something wrong or my firewall is blocking them.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 21:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522340#M4416</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-12-18T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522358#M4419</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Plot" style="width: 590px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25787i620A41752FF52261/image-size/large?v=v2&amp;amp;px=999" role="button" title="rally_plot.png" alt="Plot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Plot&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Part of dataset GOATS_ISNER" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25788iAE51D3026C365EEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-12-18 at 4.15.18 PM.png" alt="Part of dataset GOATS_ISNER" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Part of dataset GOATS_ISNER&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, sorry about that they&amp;nbsp;are working&amp;nbsp;for me&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 22:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522358#M4419</guid>
      <dc:creator>banderson2112</dc:creator>
      <dc:date>2018-12-18T22:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Label Values Cut Short in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522364#M4420</link>
      <description>I figured it out! Needed to change the length of the variable in the GOATS_ISNER dataset prior to using the '$Serving' format afterwards. Appreciate the help!</description>
      <pubDate>Tue, 18 Dec 2018 22:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Label-Values-Cut-Short-in-PROC-SGPLOT/m-p/522364#M4420</guid>
      <dc:creator>banderson2112</dc:creator>
      <dc:date>2018-12-18T22:42:58Z</dc:date>
    </item>
  </channel>
</rss>

