<?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 showing only few values on x-axis with xaxisopts with proc template in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/showing-only-few-values-on-x-axis-with-xaxisopts-with-proc/m-p/723376#M224463</link>
    <description>&lt;P&gt;Having a graph with bars for every month over a 4 year period there's too many values on the x-axis (sas dates) so i want to decrease the number of values on the x axis but still showing all bars on the charts. I tried this one in a proc template. But i still get alle months shown on the x-axis. Is there a way of doing it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;layout overlay / xaxisopts=( label=('Status måned')&lt;BR /&gt;griddisplay=on linearopts=( tickvaluelist=('01JAN2018'd '01JAN2019'd '01JAN2020'd '01JAN2021'd))&lt;BR /&gt;)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 07:34:05 GMT</pubDate>
    <dc:creator>TwanMandersSDCC</dc:creator>
    <dc:date>2021-03-04T07:34:05Z</dc:date>
    <item>
      <title>showing only few values on x-axis with xaxisopts with proc template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/showing-only-few-values-on-x-axis-with-xaxisopts-with-proc/m-p/723376#M224463</link>
      <description>&lt;P&gt;Having a graph with bars for every month over a 4 year period there's too many values on the x-axis (sas dates) so i want to decrease the number of values on the x axis but still showing all bars on the charts. I tried this one in a proc template. But i still get alle months shown on the x-axis. Is there a way of doing it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;layout overlay / xaxisopts=( label=('Status måned')&lt;BR /&gt;griddisplay=on linearopts=( tickvaluelist=('01JAN2018'd '01JAN2019'd '01JAN2020'd '01JAN2021'd))&lt;BR /&gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 07:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/showing-only-few-values-on-x-axis-with-xaxisopts-with-proc/m-p/723376#M224463</guid>
      <dc:creator>TwanMandersSDCC</dc:creator>
      <dc:date>2021-03-04T07:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: showing only few values on x-axis with xaxisopts with proc template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/showing-only-few-values-on-x-axis-with-xaxisopts-with-proc/m-p/723731#M224641</link>
      <description>&lt;P&gt;Please show your full code,and &lt;U&gt;paste it using the appropriate icon.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc sgplot data=SASHELP.CITIDAY;            
   where DATE&amp;lt;'03JAN1988'd;
   vbarparm category=DATE response=DSIJPND ;
   xaxis values=('01JAN1988'd '02JAN1988'd '03JAN1988'd ) valuesdisplay=('01Jan' ' ' '01Feb' ) ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisNZ_0-1614901849889.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55478i9CEC6CBBD0E3392D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisNZ_0-1614901849889.png" alt="ChrisNZ_0-1614901849889.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>Thu, 04 Mar 2021 23:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/showing-only-few-values-on-x-axis-with-xaxisopts-with-proc/m-p/723731#M224641</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-03-04T23:51:07Z</dc:date>
    </item>
  </channel>
</rss>

