<?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: Creating a stacked bar chart with continuous data? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119125#M4571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to plot the following data on a bar chart, where building ID is on the x-axis and value is the height of the bar. If the value is 0 or .&amp;nbsp; I want the building id to show up on the x axis. I am using the missing option, but the building ids where value = . do not show up. There is a difference between having a value of 0 and a value that is missing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;building&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 20:38:30 GMT</pubDate>
    <dc:creator>sarahsasuser</dc:creator>
    <dc:date>2013-02-22T20:38:30Z</dc:date>
    <item>
      <title>Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119115#M4561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;The horizontal axis is populated by categorical variable of the different buildings (i.e.b1, b2). I want the height of the bars to be the total performance measure (a continuous variable) of the buildings and then within each of these bars is the different measures that make up the total performance measure. For instance, if the height of the bar is 28 (the total), I want different demarcations for the 3 performance measures that make up that 28: speed: 10 (blue), accuracy 8 (green),&amp;nbsp; responsiveness 10 (yellow). So each building would have stacked bars with various heights and 3 different variables that make up that bar and color coded. The legend would show that blue = speed, accuracy= green and responsiveness=yellow. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dataset looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Accuracy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Responsiveness&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total &lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28&lt;/P&gt;&lt;P&gt;B2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 18:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119115#M4561</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119116#M4562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at vbarparm and hbarparm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or see Rob Allisons graph:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://robslink.com/SAS/democd7/aaaindex.htm" title="http://robslink.com/SAS/democd7/aaaindex.htm"&gt;http://robslink.com/SAS/democd7/aaaindex.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 18:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119116#M4562</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-02-22T18:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119117#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the basics...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data foo;&lt;/P&gt;&lt;P&gt;input building $ 1-2 speed accuracy responsiveness;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;B2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=foo out=foo (rename=(_name_=measure col1=value));&lt;/P&gt;&lt;P&gt;by building;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gchart data=foo;&lt;/P&gt;&lt;P&gt;label measure='Measure';&lt;/P&gt;&lt;P&gt;vbar building / type=sum sumvar=value subgroup=measure;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo.png" class="jive-image-thumbnail jive-image" height="454" src="https://communities.sas.com/legacyfs/online/3123_foo.png" style="height: 454px; width: 604.4378698224853px;" width="604" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119117#M4563</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-02-22T19:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119118#M4564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. However, when I run this code, I get a chart with funky Building ID midpoints. I should have mentioned that the building variable is numeric, but I want to use it like a character. There is a weird summing that occurs. How do I make sure Building ID shows up as 1 and not 30 for instance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119118#M4564</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T19:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119119#M4565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, gchart takes numeric bar values and splits them into ranges to make a histogram.&lt;/P&gt;&lt;P&gt;If you want each numeric bar value to be treated as a discrete value (like a character), you can specify the 'discrete' option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;vbar building / &lt;STRONG&gt;discrete&lt;/STRONG&gt; type=sum sumvar=value subgroup=measure;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:23:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119119#M4565</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-02-22T19:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119120#M4566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use the discrete option then the buildings that are missing data will not show up on the x axis. Can I convert the building ID to numeric in the transpose procedure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119120#M4566</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T19:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119121#M4567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends... By 'missing' do you mean they're not in the data at all, or the building number is a sas-missing, or that the building number is there but with sas-missing response values, or other?&amp;nbsp; I'd have to see some data to steer you in the right direction.&amp;nbsp; You can convert a numeric to a character either before or after the transpose (again - it depends...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a "missing" option in gchart, you can specify all the desired bar values in an axis statement, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119121#M4567</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-02-22T19:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119122#M4568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah thank you.&amp;nbsp; The missing option works. Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not uncouth, I have an additional question. If I want to use proc sgplot using this data and I have an additional subgroup, what is the subgroup equivalent in sgplot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119122#M4568</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119123#M4569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the multi-class situation, use SGPANEL. For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgpanel data=sashelp.prdsale;&lt;/P&gt;&lt;P&gt;panelby year / onepanel novarname noborder layout=columnlattice;&lt;/P&gt;&lt;P&gt;vbar product / response=actual group=division;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 20:19:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119123#M4569</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2013-02-22T20:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119124#M4570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DanH!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 20:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119124#M4570</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119125#M4571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to plot the following data on a bar chart, where building ID is on the x-axis and value is the height of the bar. If the value is 0 or .&amp;nbsp; I want the building id to show up on the x axis. I am using the missing option, but the building ids where value = . do not show up. There is a difference between having a value of 0 and a value that is missing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;building&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 20:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119125#M4571</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-02-22T20:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119126#M4572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This graph created using SAS 9.3, but it works fine on SAS 9.2 (remove the DATASKIN option).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Building.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3143_Building.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data building;&lt;BR /&gt;&amp;nbsp; input Building&amp;nbsp; Value;&lt;BR /&gt;&amp;nbsp; datalines;&lt;BR /&gt;1&amp;nbsp;&amp;nbsp; 22&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;3&amp;nbsp;&amp;nbsp; 44&lt;BR /&gt;4&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;5&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;6&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=5in height=3in imagename='Building';&lt;BR /&gt;title 'Value by Building';&lt;BR /&gt;proc sgplot data=building;&lt;BR /&gt;&amp;nbsp; vbar building / response=value missing nostatlabel dataskin=gloss;&lt;BR /&gt;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2013 01:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119126#M4572</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-03-02T01:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119127#M4573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjay, is there a gchart equivalent? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119127#M4573</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-03-07T15:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119128#M4574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'd have to hard-code an axis statement in Gchart.&amp;nbsp; There's a 'missing' option for the bar midpoints, but I don't think there's one for the response variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data building;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input Building&amp;nbsp; Value;&lt;/P&gt;&lt;P&gt;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; 44&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 order=(1 to 6 by 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gchart data=building;&lt;/P&gt;&lt;P&gt;vbar Building / discrete type=sum sumvar=value&lt;/P&gt;&lt;P&gt; maxis=axis1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119128#M4574</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-03-07T15:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119129#M4575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to offer another solution.&amp;nbsp; If you have SAS IML and have downloaded and installed the freely available R statistical package, then as of SAS 9.2, you should now be able to send your SAS datasets directly to R, graph your data in R, and return to SAS seamlessly all from within the SAS editor.&amp;nbsp; Depending on what you are trying to do, the graphics quality in R can sometimes be superior to that of SAS, in my opinion.&amp;nbsp; Here's the code and resulting graph using this method with R 2.15.2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data work.temp;&lt;/P&gt;&lt;P&gt;input Building $2. Speed Accuracy&amp;nbsp; Responsiveness Total;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;B1 10 8 10 28&lt;/P&gt;&lt;P&gt;B2 8&amp;nbsp; 7&amp;nbsp; 9 24&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc iml;&lt;/P&gt;&lt;P&gt;run ExportDataSetToR("work.temp", "temp" );&lt;/P&gt;&lt;P&gt;submit / R;&lt;/P&gt;&lt;P&gt;plotmatrix&amp;lt;-t(temp[c(-1, -5)])&lt;/P&gt;&lt;P&gt;colnames(plotmatrix)&amp;lt;-c("B1", "B2")&lt;/P&gt;&lt;P&gt;barplot(plotmatrix,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main="Total Performance",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlab="Performance Measure",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ylab="Performance",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col=c("darkblue", "green", "yellow"),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ylim=c(0, 30),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; legend=rownames(plotmatrix))&lt;/P&gt;&lt;P&gt;dev.copy(png,filename="c://myplot.png")&lt;/P&gt;&lt;P&gt;dev.off();&lt;/P&gt;&lt;P&gt;endsubmit;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="myplot.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3162_myplot.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 17:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119129#M4575</guid>
      <dc:creator>mlamias</dc:creator>
      <dc:date>2013-03-07T17:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart with continuous data?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119130#M4576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is what I ultimately ended up doing. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 17:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Creating-a-stacked-bar-chart-with-continuous-data/m-p/119130#M4576</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-03-08T17:18:09Z</dc:date>
    </item>
  </channel>
</rss>

