<?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: SAS EG: SGPLOT - xaxis valuesformat doesn't work in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635305#M19690</link>
    <description>&lt;P&gt;Add the NOTIMESPLIT option to your XAXIS statement to prevent the time axis from splitting, Then, I believe your format will be honored.&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>Fri, 27 Mar 2020 17:50:17 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2020-03-27T17:50:17Z</dc:date>
    <item>
      <title>SAS EG: SGPLOT - xaxis valuesformat doesn't work</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635232#M19687</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to get a bar chart with a horizontal date axis. I tried to get a nicer plot by changing the date format:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=test;
 vbar reporting_date / response=y stat=sum;
 xaxis valuesformat=MONYY7.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Doesn't work ...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasF_0-1585295894049.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37438iF671C3567CD5D1E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasF_0-1585295894049.png" alt="AndreasF_0-1585295894049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to change the format of the x axis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 07:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635232#M19687</guid>
      <dc:creator>AndreasF</dc:creator>
      <dc:date>2020-03-27T07:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG: SGPLOT - xaxis valuesformat doesn't work</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635243#M19688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122974"&gt;@AndreasF&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;locale=en#n0le3fkbqipcldn101al4qv8x549a" target="_blank" rel="noopener"&gt;documentation of the VALUESFORMAT= option&lt;/A&gt;&amp;nbsp;says: "For discrete axes, only character formats are supported."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you can replace the XAXIS statement by a FORMAT statement to apply the MONYY7. format:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format reporting_date monyy7.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Mar 2020 09:11:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635243#M19688</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-03-27T09:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG: SGPLOT - xaxis valuesformat doesn't work</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635305#M19690</link>
      <description>&lt;P&gt;Add the NOTIMESPLIT option to your XAXIS statement to prevent the time axis from splitting, Then, I believe your format will be honored.&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>Fri, 27 Mar 2020 17:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-EG-SGPLOT-xaxis-valuesformat-doesn-t-work/m-p/635305#M19690</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-03-27T17:50:17Z</dc:date>
    </item>
  </channel>
</rss>

