<?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: Gchart Axis Maxis Cut Off in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/191326#M7070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"&gt;Width parameter is not needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"&gt;There appears to be a cap for the number of characters displayed. Even if I enlarge the graph (without changing the device) the text is capped at a set number of characters.&amp;nbsp; I am looking into how to change this cap setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 21:56:03 GMT</pubDate>
    <dc:creator>DavidPhillips2</dc:creator>
    <dc:date>2015-01-20T21:56:03Z</dc:date>
    <item>
      <title>Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/191325#M7069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;I have a gchart with slightly long category strings.&amp;nbsp; SAS 9.2 chops my category text off, see picture below (I cut off part of the graph in the print screen):&amp;nbsp; Is there a way to make the text smaller or give more space for the maxis.&amp;nbsp; I looked into ways of resizing the image however resizing the image gives problems:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;I either lose my needed subgroup (when using statgraph)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;I lose my inner statistic when resizing using: goptions reset=all&amp;nbsp; device=png hsize=6in vsize=6in; (however this method does resize the image)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;&lt;IMG alt="AxisCutOff.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/8805_AxisCutOff.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "2014 Residency Comparison";&lt;/P&gt;&lt;P&gt;&amp;nbsp; axis1 label=none;&lt;/P&gt;&lt;P&gt;&amp;nbsp; axis2 label=none&amp;nbsp; width=10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; axis3 label=none;&lt;/P&gt;&lt;P&gt;&amp;nbsp; legend1 label =none;&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc gchart data=RES_PCENT;&lt;/P&gt;&lt;P&gt;&amp;nbsp; hbar stud_or_deg_level / discrete type=sum sumvar=category_pct inside=subpct nostats noframe&lt;/P&gt;&lt;P&gt;&amp;nbsp; subgroup=residency_desc &lt;/P&gt;&lt;P&gt;&amp;nbsp; gaxis=axis1 maxis=axis2 raxis=axis3&lt;/P&gt;&lt;P&gt;&amp;nbsp; legend = legend1&lt;/P&gt;&lt;P&gt;&amp;nbsp; html=htmlvar;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/191325#M7069</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-01-20T21:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/191326#M7070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"&gt;Width parameter is not needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"&gt;There appears to be a cap for the number of characters displayed. Even if I enlarge the graph (without changing the device) the text is capped at a set number of characters.&amp;nbsp; I am looking into how to change this cap setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/191326#M7070</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-01-20T21:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/236718#M8589</link>
      <description>&lt;P&gt;Hi David, Did you get any&amp;nbsp; solution on above mentioned truncation issue? I am also facing same problem.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2015 10:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/236718#M8589</guid>
      <dc:creator>Sujata</dc:creator>
      <dc:date>2015-11-27T10:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237031#M8599</link>
      <description>&lt;P&gt;The bar labels in your screen-capture appear to be "center truncated" (letters from the middle of the string are replaced with '...')? If this is the case, then I suspect you're using device=java or device=activex?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend using device=png instead (java &amp;amp; activex do not support the full SAS/Graph functionality in many cases).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SAS 9.2, dev=png gchart was enhanced, and the length limit for bar labels was increased from 32 characters to 256 characters (if I recall correctly).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237031#M8599</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-11-30T18:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237185#M8605</link>
      <description>&lt;P&gt;Thanks Robert .. It works for me but now when I use device =PNG tooltip values for bars are not displaying on mouse over.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 15:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237185#M8605</guid>
      <dc:creator>Sujata</dc:creator>
      <dc:date>2015-12-01T15:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Axis Maxis Cut Off</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237187#M8606</link>
      <description>&lt;P&gt;With png, you'll need to use gchart's "html=" option, and prepare a variable in your dataset to contain html tags for what you want in the hover-text (and alternatively href drilldowns). This is a little bit of extra work, but adds a *lot* of flexibility! Here's an example that might get you started:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd23/bar_info.htm" target="_blank"&gt;http://robslink.com/SAS/democd23/bar_info.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 16:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Axis-Maxis-Cut-Off/m-p/237187#M8606</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-12-01T16:02:23Z</dc:date>
    </item>
  </channel>
</rss>

