<?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: PROC SGPLOT: quarter max value for XAXIS in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373497#M12910</link>
    <description>&lt;P&gt;Have you tried specifying a time interval? Specifically Quarter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SAS overrides the max value it usually leaves a note in the log, was there any messages in your log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: I'm moving this post to the graphics forum for better responses.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2017 03:24:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-07-06T03:24:21Z</dc:date>
    <item>
      <title>PROC SGPLOT: quarter max value for XAXIS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373494#M12909</link>
      <description>&lt;P&gt;My PROC SGPLOT &amp;nbsp;produces a weird gap on the right. I tried to set MAX value but it does not work.My year quarter&amp;nbsp;has&amp;nbsp;YYQn6. format and the maximum value in my data is 20164( quarter 4 2016). I tried MAX option &amp;nbsp;but it does not work&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;PRE&gt;proc sgplot data= input;
	series x=yearquarter y=series1/lineattrs=(color=red pattern = solid) legendlabel= "Small firms";
	series x=yearquarter y=series2/lineattrs=(color=blue pattern = thindot) legendlabel= "Medium firms";
	series x=yearquarter y=series3/lineattrs=(color=black pattern = longdash) legendlabel= "Big firms";
	series x=yearquarter y=liq_mean/lineattrs=(color=green pattern=dash thickness= 3) legendlabel= "All firms";
	YAXIS LABEL = "metric";
	XAXIS LABEL = 'Year' MAX='20DEC2014'D;
run;&lt;/PRE&gt;&lt;P&gt;Here is what the graph looks like. the max value on the x-axis is 2020 but in the data, it is 2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10152iEDC96E658E117762/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 02:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373494#M12909</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2017-07-06T02:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT: quarter max value for XAXIS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373497#M12910</link>
      <description>&lt;P&gt;Have you tried specifying a time interval? Specifically Quarter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SAS overrides the max value it usually leaves a note in the log, was there any messages in your log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: I'm moving this post to the graphics forum for better responses.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 03:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373497#M12910</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-06T03:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT: quarter max value for XAXIS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373560#M12911</link>
      <description>&lt;P&gt;yes there is a note:&lt;/P&gt;&lt;PRE&gt;NOTE: The column format YYQN6 is replaced by an auto-generated format on the axis.&lt;/PRE&gt;&lt;P&gt;so I specified it to be quarter and that problem solved but they displayed all quarter labels on the xaxis which makes it look ugly.&lt;/P&gt;&lt;P&gt;&lt;IMG title="Capture.PNG" alt="Capture.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/10164i4FDDD6331E173A13/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 10:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-quarter-max-value-for-XAXIS/m-p/373560#M12911</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2017-07-06T10:12:31Z</dc:date>
    </item>
  </channel>
</rss>

