<?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: proc gchart: stop truncating values of group variables in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33277#M1067</link>
    <description>Bill - I don't think &amp;gt;32 character text values work in the legend per-say in v9.1.3 (not even in v9.2).  This is a feature I got added in (upcoming) v9.3 though &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
So, I'm assuming that by "legend" you're referring to creating a "fake" legend, by clever use of title, footnote, or note statements (or annotated text) - yep, that would work! :-)

Message was edited by: Robert Allison @ SAS</description>
    <pubDate>Mon, 21 Dec 2009 15:48:28 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2009-12-21T15:48:28Z</dc:date>
    <item>
      <title>proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33270#M1060</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I have a proc gchart with a group variable. Unfortunately the values of the group variable are longer than 32 characters. Therefore SAS automatically truncates these values to the length of 32. This causes a big problem for me as (who would have guessed) character 1-32 are the same for all the values and character number 33 then makes the difference.&lt;BR /&gt;
Now SAS truncates the values to a length of 32 and therefore all values are the same and are displayed in the same group &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
So I'd like to say: no, don't truncate the values of my group variable. Does anybody know how to do this?&lt;BR /&gt;
(Explicitly setting the length in a data step before doesn't help)&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva</description>
      <pubDate>Mon, 21 Dec 2009 12:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33270#M1060</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-12-21T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33271#M1061</link>
      <description>Sounds like you're not using v9.2 sas yet?&lt;BR /&gt;
&lt;BR /&gt;
This was one of the (many) great new features &amp;amp; enhancements in v9.2 -- supporting bar chart midpoints &amp;amp; group values &amp;gt; 32 characters &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 21 Dec 2009 13:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33271#M1061</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-12-21T13:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33272#M1062</link>
      <description>Many examples on the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website - suggested Google advanced search argument to consider using:&lt;BR /&gt;
&lt;BR /&gt;
gchart example group subgroup site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 21 Dec 2009 13:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33272#M1062</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-12-21T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33273#M1063</link>
      <description>No we are using SAS9.1.3&lt;BR /&gt;
Is there a way to do this in that version?</description>
      <pubDate>Mon, 21 Dec 2009 13:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33273#M1063</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-12-21T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33274#M1064</link>
      <description>The only way I know of that you can do it in v9.1.3 would be to use shorter (fake) values for your groups, and then annotate the desired text over the fake values (making the fake values white-on-white so they're "invisible").  It would be a bit tricky...&lt;BR /&gt;
&lt;BR /&gt;
I think it would probably be quicker/easier to upgrade, than to figure out how to use annotated text labels in this scenario! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 21 Dec 2009 13:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33274#M1064</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-12-21T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33275#M1065</link>
      <description>I guess I just manipulate the data instead of using annotate and then wait for SAS9.2 in our company.</description>
      <pubDate>Mon, 21 Dec 2009 14:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33275#M1065</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-12-21T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33276#M1066</link>
      <description>Eva;&lt;BR /&gt;
&lt;BR /&gt;
I can think of two alternatives.&lt;BR /&gt;
1.  Rename the group variables so that they are less than 32 long.&lt;BR /&gt;
2.  Use code values for the group variables and then add a legend - direct labelling is preferred, but if you're stuck ...  Just be sure to locate the legend so that it's as adjacent as possible and in the same order as the data display.</description>
      <pubDate>Mon, 21 Dec 2009 14:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33276#M1066</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-12-21T14:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33277#M1067</link>
      <description>Bill - I don't think &amp;gt;32 character text values work in the legend per-say in v9.1.3 (not even in v9.2).  This is a feature I got added in (upcoming) v9.3 though &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
So, I'm assuming that by "legend" you're referring to creating a "fake" legend, by clever use of title, footnote, or note statements (or annotated text) - yep, that would work! :-)

Message was edited by: Robert Allison @ SAS</description>
      <pubDate>Mon, 21 Dec 2009 15:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33277#M1067</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-12-21T15:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc gchart: stop truncating values of group variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33278#M1068</link>
      <description>With 9.1.3, I'm driven to clever!</description>
      <pubDate>Mon, 21 Dec 2009 18:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gchart-stop-truncating-values-of-group-variables/m-p/33278#M1068</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-12-21T18:49:07Z</dc:date>
    </item>
  </channel>
</rss>

