<?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 PROC SGPLOT, SEGLABEL didn't print the formatted letter. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600620#M19037</link>
    <description>&lt;P&gt;I applied format for response variable when create the hbar plot with segment label.&lt;/P&gt;&lt;P&gt;But, some segments widths are so narrow, then format didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the plot. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33501iBE5C2AB9AEE632D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually brown colored segment should be print as "L". Also, the real value of brown colored segment is 2.778.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with below code, the segment is printed out as "3" not "L".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the reason why this problems has happened&amp;nbsp; because of&amp;nbsp; segment width is so narrow.&lt;/P&gt;&lt;P&gt;How can I print brown colored segment with formatted letter?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=12in height=6in imagename='full';&lt;BR /&gt;proc sgplot data=graph ;&lt;BR /&gt;format score fmtv.&amp;nbsp; ;&lt;BR /&gt;hbar site / response=score group=risk_num seglabel seglabelattrs=(size=10 weight=bold) ;&lt;BR /&gt;yaxis grid discreteorder=data display=(nolabel) valueattrs=(size=12);&lt;BR /&gt;xaxis values=(0 10 20 30 40 50 60 ) valuesdisplay=("0" "10" "20" "30" "40" "50" "60") label="Total Risk Score" labelattrs=(size=11) valueattrs=(weight=bold size=11) ;&lt;BR /&gt;refline &amp;amp;all_mean / axis=x lineattrs=(color=red thickness=3) label='[Overall Mean:&amp;amp;all_mean]' labelattrs=(weight=bold size=11) labelpos=min labelloc=outside; ;&lt;BR /&gt;discretelegend / title="" position=bottom valueattrs=(size=12) noborder ;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics / reset=width;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 04:21:11 GMT</pubDate>
    <dc:creator>shoh</dc:creator>
    <dc:date>2019-10-31T04:21:11Z</dc:date>
    <item>
      <title>PROC SGPLOT, SEGLABEL didn't print the formatted letter.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600620#M19037</link>
      <description>&lt;P&gt;I applied format for response variable when create the hbar plot with segment label.&lt;/P&gt;&lt;P&gt;But, some segments widths are so narrow, then format didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the plot. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33501iBE5C2AB9AEE632D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually brown colored segment should be print as "L". Also, the real value of brown colored segment is 2.778.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with below code, the segment is printed out as "3" not "L".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the reason why this problems has happened&amp;nbsp; because of&amp;nbsp; segment width is so narrow.&lt;/P&gt;&lt;P&gt;How can I print brown colored segment with formatted letter?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=12in height=6in imagename='full';&lt;BR /&gt;proc sgplot data=graph ;&lt;BR /&gt;format score fmtv.&amp;nbsp; ;&lt;BR /&gt;hbar site / response=score group=risk_num seglabel seglabelattrs=(size=10 weight=bold) ;&lt;BR /&gt;yaxis grid discreteorder=data display=(nolabel) valueattrs=(size=12);&lt;BR /&gt;xaxis values=(0 10 20 30 40 50 60 ) valuesdisplay=("0" "10" "20" "30" "40" "50" "60") label="Total Risk Score" labelattrs=(size=11) valueattrs=(weight=bold size=11) ;&lt;BR /&gt;refline &amp;amp;all_mean / axis=x lineattrs=(color=red thickness=3) label='[Overall Mean:&amp;amp;all_mean]' labelattrs=(weight=bold size=11) labelpos=min labelloc=outside; ;&lt;BR /&gt;discretelegend / title="" position=bottom valueattrs=(size=12) noborder ;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics / reset=width;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 04:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600620#M19037</guid>
      <dc:creator>shoh</dc:creator>
      <dc:date>2019-10-31T04:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SEGLABEL didn't print the formatted letter.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600694#M19038</link>
      <description>&lt;P&gt;Add&amp;nbsp;SEGLABELFITPOLICY=NONE to the HBAR options.&amp;nbsp; By default, the fit policy is to "thin" the labels that don't fit in the bars.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600694#M19038</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-31T14:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SEGLABEL didn't print the formatted letter.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600865#M19050</link>
      <description>&lt;P&gt;Thanks for your comment. It's very helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 00:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SEGLABEL-didn-t-print-the-formatted-letter/m-p/600865#M19050</guid>
      <dc:creator>shoh</dc:creator>
      <dc:date>2019-11-01T00:35:36Z</dc:date>
    </item>
  </channel>
</rss>

