<?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: SGPLOT VBAR maximum data points on xaxis reached in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761932#M21864</link>
    <description>&lt;P&gt;It won't hurt to show your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using an option to force a tick mark for every date that might limit things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would typically use a Needle plot to show a large number of values like this.&lt;/P&gt;
&lt;P&gt;Example creating some dummy count data per day and displaying it.&lt;/P&gt;
&lt;PRE&gt;data example;
  do date='01Jan2020'd to '31DEC2021'd;
     value= rand('integer',100);
     output;
  end;
  format date date9.;
run;

Proc sgplot;
   needle x= date y=value;
run;
   
 &lt;/PRE&gt;</description>
    <pubDate>Mon, 16 Aug 2021 22:27:53 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-08-16T22:27:53Z</dc:date>
    <item>
      <title>SGPLOT VBAR maximum data points on xaxis reached</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761931#M21863</link>
      <description>&lt;P&gt;I have been running report that produces a bar chart of the daily COVID-19 hospital admissions from March 15 2020 to current.&amp;nbsp; The bar chart stops displaying dates after July 14, 2021.&amp;nbsp; Is there a limit to the number of bars that can be displayed in a VBAR chart?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an option that will allow me to display the whole time line from March 15 2020 for the forseeable future or do I have to start sampling the data points?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 22:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761931#M21863</guid>
      <dc:creator>Jim_Cooper_hmsa</dc:creator>
      <dc:date>2021-08-16T22:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT VBAR maximum data points on xaxis reached</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761932#M21864</link>
      <description>&lt;P&gt;It won't hurt to show your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using an option to force a tick mark for every date that might limit things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would typically use a Needle plot to show a large number of values like this.&lt;/P&gt;
&lt;P&gt;Example creating some dummy count data per day and displaying it.&lt;/P&gt;
&lt;PRE&gt;data example;
  do date='01Jan2020'd to '31DEC2021'd;
     value= rand('integer',100);
     output;
  end;
  format date date9.;
run;

Proc sgplot;
   needle x= date y=value;
run;
   
 &lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Aug 2021 22:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761932#M21864</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-08-16T22:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT VBAR maximum data points on xaxis reached</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761937#M21865</link>
      <description>&lt;P&gt;See this thread on DISCRETEMAX:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/td-p/55128" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/td-p/55128&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 23:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761937#M21865</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2021-08-16T23:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT VBAR maximum data points on xaxis reached</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761940#M21866</link>
      <description>&lt;P&gt;Here is the PROC SGPLOT statement that I am using.&amp;nbsp; The data is 403 observations for admissions from March 15, 2020 - August 15, 2021. The last data point in chart is July 21,2021&lt;/P&gt;
&lt;P&gt;proc sgplot data=CovidAdmitSummary;&lt;BR /&gt;vbar CovidAdmitDT /response=Admissions nooutline barwidth=.7 missing;&lt;BR /&gt;xaxis fitpolicy=rotatethin interval=day ;&lt;BR /&gt;yaxis label='# Admissions' max=20 grid gridattrs=(color=lightblue pattern=1 thickness=.5);&lt;BR /&gt;format CovidAdmitDT date5.;&lt;BR /&gt;label CovidAdmitDT='Day of Admission';&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jim_Cooper_hmsa_0-1629155816094.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62640i13F5EEA8F36911F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jim_Cooper_hmsa_0-1629155816094.png" alt="Jim_Cooper_hmsa_0-1629155816094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 23:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761940#M21866</guid>
      <dc:creator>Jim_Cooper_hmsa</dc:creator>
      <dc:date>2021-08-16T23:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT VBAR maximum data points on xaxis reached</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761943#M21867</link>
      <description>&lt;P&gt;It is extremely easy to test the needle plot.&lt;/P&gt;
&lt;P&gt;Change your code to read&lt;/P&gt;
&lt;PRE&gt;needle x=CovidAdmitDt y=Admissions;&lt;/PRE&gt;
&lt;P&gt;instead of the VBAR you are currently using.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 23:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-VBAR-maximum-data-points-on-xaxis-reached/m-p/761943#M21867</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-08-16T23:25:59Z</dc:date>
    </item>
  </channel>
</rss>

