<?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: Including all values of subgroup in Gchart/VAR3D in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Including-all-values-of-subgroup-in-Gchart-VAR3D/m-p/144936#M5483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have a similar need I usually join the data to a data set with all of the categorical variables. If the value isn't in the data set then GCHART can't do anything with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 15:13:51 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-11-15T15:13:51Z</dc:date>
    <item>
      <title>Including all values of subgroup in Gchart/VAR3D</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Including-all-values-of-subgroup-in-Gchart-VAR3D/m-p/144935#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a character field named Butterflies.&amp;nbsp; I've got a numeric field named Test.&amp;nbsp; Test values are 1-6.&amp;nbsp;&amp;nbsp; I'm trying to create a vbar where all the Test values are represented, even if there is no data for them.&amp;nbsp;&amp;nbsp; This will make the graphic colors across all charts the same.&amp;nbsp; I tried the code below, but it's ignoring the midpoints do not match the variable type.&amp;nbsp; Any idea what's going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC GCHART DATA=mydata&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; VBAR3D &lt;/P&gt;&lt;P&gt;&amp;nbsp; Butterflies&lt;/P&gt;&lt;P&gt; /&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBGROUP=Test&lt;/P&gt;&lt;P&gt;/* Start of custom user code. */&lt;/P&gt;&lt;P&gt;patternid = subgroup&lt;/P&gt;&lt;P&gt;/* End of custom user code. */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHAPE=BLOCK&lt;/P&gt;&lt;P&gt;FRAME TYPE=FREQ&lt;/P&gt;&lt;P&gt;&amp;nbsp; MISSING&lt;/P&gt;&lt;P&gt;PCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; LEGEND=LEGEND1&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUTLINE=BLACK&lt;/P&gt;&lt;P&gt;&amp;nbsp; RAXIS=AXIS1&lt;/P&gt;&lt;P&gt;&amp;nbsp; MAXIS=AXIS2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Start of custom user code. */&lt;/P&gt;&lt;P&gt;discrete&lt;/P&gt;&lt;P&gt;midpoints=1 2 3 4 5 6;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Including-all-values-of-subgroup-in-Gchart-VAR3D/m-p/144935#M5482</guid>
      <dc:creator>k9rescue</dc:creator>
      <dc:date>2013-11-15T12:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Including all values of subgroup in Gchart/VAR3D</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Including-all-values-of-subgroup-in-Gchart-VAR3D/m-p/144936#M5483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have a similar need I usually join the data to a data set with all of the categorical variables. If the value isn't in the data set then GCHART can't do anything with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 15:13:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Including-all-values-of-subgroup-in-Gchart-VAR3D/m-p/144936#M5483</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-15T15:13:51Z</dc:date>
    </item>
  </channel>
</rss>

