<?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 Controlling xaxis when using VBAR with dates in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91760#M3410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rIs it possible to control the xaxis (category axis) when using VBAR in the SG procedures? I have 40 months and want to show stacked bars where each bar height is a population and the stacks are comprised of population subcategories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the xaxis is unreadable. None of the xaxis options for time values are effective with VBAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I get around this with GTL? It's proving to be an enormous time sink, and I don't think that having a bar chart with time as the xaxis is that unreasonable a thing to try to do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 16:59:06 GMT</pubDate>
    <dc:creator>jteres</dc:creator>
    <dc:date>2013-09-24T16:59:06Z</dc:date>
    <item>
      <title>Controlling xaxis when using VBAR with dates</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91760#M3410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rIs it possible to control the xaxis (category axis) when using VBAR in the SG procedures? I have 40 months and want to show stacked bars where each bar height is a population and the stacks are comprised of population subcategories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the xaxis is unreadable. None of the xaxis options for time values are effective with VBAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I get around this with GTL? It's proving to be an enormous time sink, and I don't think that having a bar chart with time as the xaxis is that unreasonable a thing to try to do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 16:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91760#M3410</guid>
      <dc:creator>jteres</dc:creator>
      <dc:date>2013-09-24T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling xaxis when using VBAR with dates</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91761#M3411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming I understand the problem you have with the xaxis, I would use a format (either a built in format or a custom one) to display the date variables as you need.&amp;nbsp; For example:&lt;/P&gt;&lt;PRE&gt;data sale;
set sashelp.prdsale;
format month MONYY7.;
run;

proc sgplot data=sale;
vbar month/response=actual group=product groupdisplay=stack;
run;
&lt;/PRE&gt;&lt;P&gt;If that doesn't work for you, more detail would be helpful in terms of what you want to see on the x axis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 17:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91761#M3411</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-09-24T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling xaxis when using VBAR with dates</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91762#M3412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the problem is too many tick values, you can can specify FITPOLICY=THIN on the XAXIS statement to help with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 17:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Controlling-xaxis-when-using-VBAR-with-dates/m-p/91762#M3412</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2013-09-24T17:11:00Z</dc:date>
    </item>
  </channel>
</rss>

