<?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 How do I show all the data label for each of my bars? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-show-all-the-data-label-for-each-of-my-bars/m-p/862010#M340470</link>
    <description>&lt;P&gt;As shown in the photo below, you see that female has no data labels for its bars. Any way to improve this graph? Many thanks!&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="aigiss_0-1677785726203.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81016i349506A8E60B2AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aigiss_0-1677785726203.png" alt="aigiss_0-1677785726203.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;proc sgpanel data=k.combined_dataset ;
  title 'Percentage of Sexual Orientation among Gender in Sexual and No-reported Sexual Contact MPX Cases';
panelby genderid / layout=columnlattic novarname;
vbar genderid / group=AdtlDemOrient stat=percent categoryorder=respasc groupdisplay=cluster seglabel
  datalabel;
where genderid="Male" | genderid="Female";
rowaxis grid display=(noticks nolabel);
colaxis grid display=(noticks nolabel);
keylegend/title='Sexual Orientation';
run;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Mar 2023 19:36:48 GMT</pubDate>
    <dc:creator>aigiss</dc:creator>
    <dc:date>2023-03-02T19:36:48Z</dc:date>
    <item>
      <title>How do I show all the data label for each of my bars?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-show-all-the-data-label-for-each-of-my-bars/m-p/862010#M340470</link>
      <description>&lt;P&gt;As shown in the photo below, you see that female has no data labels for its bars. Any way to improve this graph? Many thanks!&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="aigiss_0-1677785726203.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81016i349506A8E60B2AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aigiss_0-1677785726203.png" alt="aigiss_0-1677785726203.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;proc sgpanel data=k.combined_dataset ;
  title 'Percentage of Sexual Orientation among Gender in Sexual and No-reported Sexual Contact MPX Cases';
panelby genderid / layout=columnlattic novarname;
vbar genderid / group=AdtlDemOrient stat=percent categoryorder=respasc groupdisplay=cluster seglabel
  datalabel;
where genderid="Male" | genderid="Female";
rowaxis grid display=(noticks nolabel);
colaxis grid display=(noticks nolabel);
keylegend/title='Sexual Orientation';
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Mar 2023 19:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-show-all-the-data-label-for-each-of-my-bars/m-p/862010#M340470</guid>
      <dc:creator>aigiss</dc:creator>
      <dc:date>2023-03-02T19:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show all the data label for each of my bars?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-show-all-the-data-label-for-each-of-my-bars/m-p/862093#M340517</link>
      <description>If you want answer, you would better to post your example data to replicate your error.&lt;BR /&gt;From the code you posted, why put genderid in VBAR since VBAR is in PANELBY ?&lt;BR /&gt;You could try :&lt;BR /&gt;&lt;BR /&gt;vbar genderid / group=AdtlDemOrient stat=percent categoryorder=respasc groupdisplay=cluster seglabel&lt;BR /&gt;  datalabel;&lt;BR /&gt;-----&amp;gt;&lt;BR /&gt;vbar AdtlDemOrient / group=AdtlDemOrient stat=percent categoryorder=respasc groupdisplay=cluster seglabel&lt;BR /&gt;  datalabel;</description>
      <pubDate>Fri, 03 Mar 2023 11:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-show-all-the-data-label-for-each-of-my-bars/m-p/862093#M340517</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-03-03T11:47:03Z</dc:date>
    </item>
  </channel>
</rss>

