<?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: Help wanted: still need the bar shape If there is no value when using proc gchart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373790#M12917</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148952"&gt;@daisy6&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for the suggestions. I will try the way you told me.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you can't figure a step out feel free to post back with the code you have so far.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2017 22:49:40 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-07-06T22:49:40Z</dc:date>
    <item>
      <title>Help wanted: still need the bar shape If there is no value when using proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373761#M12914</link>
      <description>&lt;P&gt;Hello SAS experts,&lt;/P&gt;&lt;P&gt;I used proc gchart to get the frequncy of time intervals and if there is no value in one time interval but still need the graph to demonstrate it. How to do?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;data timeinterval;&lt;BR /&gt;input id time;&lt;BR /&gt;datalines;&lt;BR /&gt;111 2440&lt;BR /&gt;222 1876&lt;BR /&gt;333 2498&lt;BR /&gt;444 3956&lt;BR /&gt;555 7690&lt;BR /&gt;666 6879&lt;BR /&gt;777 5463&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc format;&lt;BR /&gt;value vtime&lt;BR /&gt;0 - 1800 ="Up to 00:30 min"&lt;BR /&gt;1801 -3600 = "00:31 to 1:00 "&lt;BR /&gt;3601 -5400 ="1:01 to 1:30 "&lt;BR /&gt;5401 -7200 = "1:31 to 2:00"&lt;BR /&gt;7201 - 9000 ="2:01 to 2:30"&lt;BR /&gt;&amp;gt;9000 = "Above 2:30"&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc gchart data=timeinterval;&lt;BR /&gt;format time vtime.;&lt;BR /&gt;vbar3D time/discrete noframe shape=block width=4&lt;BR /&gt;space=4&lt;BR /&gt;outside=freq&lt;BR /&gt;raxis=axis1&lt;BR /&gt;coutline=CX4D7EBF&lt;BR /&gt;woutline=1&lt;BR /&gt;autoref clipref;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the bar which interval is "Above 2:30" &amp;nbsp;even the frequency=0;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 19:53:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373761#M12914</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-06T19:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help wanted: still need the bar shape If there is no value when using proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373778#M12915</link>
      <description>&lt;P&gt;But you don't have that value in your data set. In this case, you should pre-summarize your data to include the values/levels you'll want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way to do this is to use PRELOADFMT or CLASSDATA. Other options include manually adding in the level.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once your data is together you can use HBARPARM or VBARPARM within SGPLOT to graph the data. GCHART is antiquated and I would never recommend developing new graphs&amp;nbsp;using GCHART. &amp;nbsp;SGPLOT gives you a lot more features and better quality graphs.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 20:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373778#M12915</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-06T20:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help wanted: still need the bar shape If there is no value when using proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373782#M12916</link>
      <description>&lt;P&gt;Thanks for the suggestions. I will try the way you told me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 21:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373782#M12916</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-07-06T21:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help wanted: still need the bar shape If there is no value when using proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373790#M12917</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148952"&gt;@daisy6&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for the suggestions. I will try the way you told me.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you can't figure a step out feel free to post back with the code you have so far.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 22:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-wanted-still-need-the-bar-shape-If-there-is-no-value-when/m-p/373790#M12917</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-06T22:49:40Z</dc:date>
    </item>
  </channel>
</rss>

