<?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: Remove x axis percent values in proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768817#M21997</link>
    <description>&lt;P&gt;I would do three things here:&lt;/P&gt;
&lt;P&gt;1. Change XAXIS DISPLAY=(NOLABEL) to be DISLAY=NONE to get rid of the XAXIS completely&lt;/P&gt;
&lt;P&gt;2. Add a YAXIS DISPLAY=NONE as an additional statement to get rid of the YAXIS completely&lt;/P&gt;
&lt;P&gt;3. I would add the NOBORDER to the SGPLOT statement to get rid of the frame around the data area&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>Tue, 21 Sep 2021 14:59:31 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2021-09-21T14:59:31Z</dc:date>
    <item>
      <title>Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768804#M21995</link>
      <description>&lt;P&gt;Hey everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a stacked bar chart with the code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods graphics / reset width=16cm height=4cm;&lt;BR /&gt;title "Gender distribution" font=Arial;&lt;BR /&gt;proc sgplot data=newcomplete;&lt;BR /&gt;hbar Full / group=Gender BARWIDTH=.5 groupdisplay=stack stat=percent seglabel seglabelattrs=(Family=Arial size=10);&lt;BR /&gt;xaxis discreteorder=data;&lt;BR /&gt;styleattrs datacolors=("#D9D9D9" "#C5D4D8" "#B0BAD4" "#85BDB6" SKYBLUE) datalinepatterns=(solid) datacontrastcolors=(grey);&lt;BR /&gt;keylegend/ title=" "&lt;BR /&gt;titleattrs=(Size=1)&lt;BR /&gt;valueattrs=(Family=Arial Size=11);;&lt;BR /&gt;yaxis label="S8)"&lt;BR /&gt;valueattrs=(size=10);&lt;BR /&gt;XAXIS DISPLAY=(NOLABEL);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The outcome is the picture below. Because I added the percent value of each segment in the bar already, I want to remove the percent values (0%...-...100%) on the x-axis scale.&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="s192403_0-1632235075723.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63777iB5DD644E122D50EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s192403_0-1632235075723.png" alt="s192403_0-1632235075723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have an idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768804#M21995</guid>
      <dc:creator>s192403</dc:creator>
      <dc:date>2021-09-21T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768816#M21996</link>
      <description>&lt;P&gt;You may try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XAXIS DISPLAY=(NOLABEL &lt;FONT color="#FF0000"&gt;NOTICKS&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;NOVALUES&lt;/FONT&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768816#M21996</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-21T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768817#M21997</link>
      <description>&lt;P&gt;I would do three things here:&lt;/P&gt;
&lt;P&gt;1. Change XAXIS DISPLAY=(NOLABEL) to be DISLAY=NONE to get rid of the XAXIS completely&lt;/P&gt;
&lt;P&gt;2. Add a YAXIS DISPLAY=NONE as an additional statement to get rid of the YAXIS completely&lt;/P&gt;
&lt;P&gt;3. I would add the NOBORDER to the SGPLOT statement to get rid of the frame around the data area&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>Tue, 21 Sep 2021 14:59:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768817#M21997</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-09-21T14:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/770586#M22019</link>
      <description>&lt;P&gt;Thanks a lot Jag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 09:41:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/770586#M22019</guid>
      <dc:creator>s192403</dc:creator>
      <dc:date>2021-09-27T09:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/770587#M22020</link>
      <description>Thanks a lot Dan.&lt;BR /&gt;It works now and the additional comments help me a lot.</description>
      <pubDate>Mon, 27 Sep 2021 09:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/770587#M22020</guid>
      <dc:creator>s192403</dc:creator>
      <dc:date>2021-09-27T09:42:01Z</dc:date>
    </item>
  </channel>
</rss>

