<?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 Group values get truncated in proc gchart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197103#M7331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to produce a bar chart with both a group and sub-group variable.&amp;nbsp; My issue is that the sub-group variable values get truncated at 32 characters, which causes some odd groupings on the chart.&amp;nbsp; I've looked at support.sas.com and also in the communities site to see if there is a resolution for this but from what I can tell this issue was meant to be fixed in SAS 9.2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working with SAS 9.2 and EG 7.1.&amp;nbsp; We have plans to upgrade to SAS 9.4 in the fall but we're not quite there yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pearl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I've copied in the code generated from the chart task below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SORT&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA=WORK.CHART_DATA_HASP_FINAL(FIRSTOBS=1&amp;nbsp; KEEP=TIME_INTV_1 FLOWGATE_NAME SHADOW_PRICE EDR_TRADE_DT)&lt;/P&gt;&lt;P&gt;&amp;nbsp; OUT=WORK.SORTTempTableSorted&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BY DESCENDING EDR_TRADE_DT;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;%_sas_pushchartsize(450,300);&lt;/P&gt;&lt;P&gt;&amp;nbsp; GOPTIONS CBACK=WHITE;&lt;/P&gt;&lt;P&gt;Legend1&lt;/P&gt;&lt;P&gt;&amp;nbsp; FRAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=( FONT='Arial' HEIGHT=8pt JUSTIFY=LEFT&amp;nbsp;&amp;nbsp; " ")&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;Axis1&lt;/P&gt;&lt;P&gt;&amp;nbsp; STYLE=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WIDTH=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; MINOR=NONE&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=(&amp;nbsp; ANGLE=90 "Shadow Value ($/MW)")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Axis2&lt;/P&gt;&lt;P&gt;&amp;nbsp; STYLE=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WIDTH=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUE=(ANGLE=90)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=NONE&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;TITLE;&lt;/P&gt;&lt;P&gt;FOOTNOTE;&lt;/P&gt;&lt;P&gt;PROC GCHART DATA=WORK.SORTTempTableSorted&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; VBAR &lt;/P&gt;&lt;P&gt;&amp;nbsp; TIME_INTV_1&lt;/P&gt;&lt;P&gt; /&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUMVAR=SHADOW_PRICE&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBGROUP=FLOWGATE_NAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLIPREF&lt;/P&gt;&lt;P&gt;FRAME CFRAME=WHITE&lt;/P&gt;&lt;P&gt;&amp;nbsp; MIDPOINTS="0:00"T TO "23:45"T BY "0:15"T&lt;/P&gt;&lt;P&gt;&amp;nbsp; TYPE=SUM&lt;/P&gt;&lt;P&gt;&amp;nbsp; MISSING&lt;/P&gt;&lt;P&gt;&amp;nbsp; LEGEND=LEGEND1&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUTLINE=SAME&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;&amp;nbsp; LREF=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; CREF=LTGRAY&lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOREF&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FORMAT TIME_INTV_1 HHMM5.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHADOW_PRICE DOLLAR8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL &lt;/P&gt;&lt;P&gt;&amp;nbsp; FLOWGATE_NAME="Constraint"&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHADOW_PRICE="Shadow Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp; EDR_TRADE_DT="Trade Date";&lt;/P&gt;&lt;P&gt;&amp;nbsp; BY DESCENDING EDR_TRADE_DT;&lt;/P&gt;&lt;P&gt;/* -------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; End of task code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ------------------------------------------------------------------- */&lt;/P&gt;&lt;P&gt;RUN; QUIT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 19:31:33 GMT</pubDate>
    <dc:creator>Vrin</dc:creator>
    <dc:date>2015-08-11T19:31:33Z</dc:date>
    <item>
      <title>Group values get truncated in proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197103#M7331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to produce a bar chart with both a group and sub-group variable.&amp;nbsp; My issue is that the sub-group variable values get truncated at 32 characters, which causes some odd groupings on the chart.&amp;nbsp; I've looked at support.sas.com and also in the communities site to see if there is a resolution for this but from what I can tell this issue was meant to be fixed in SAS 9.2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working with SAS 9.2 and EG 7.1.&amp;nbsp; We have plans to upgrade to SAS 9.4 in the fall but we're not quite there yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pearl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I've copied in the code generated from the chart task below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SORT&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA=WORK.CHART_DATA_HASP_FINAL(FIRSTOBS=1&amp;nbsp; KEEP=TIME_INTV_1 FLOWGATE_NAME SHADOW_PRICE EDR_TRADE_DT)&lt;/P&gt;&lt;P&gt;&amp;nbsp; OUT=WORK.SORTTempTableSorted&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BY DESCENDING EDR_TRADE_DT;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;%_sas_pushchartsize(450,300);&lt;/P&gt;&lt;P&gt;&amp;nbsp; GOPTIONS CBACK=WHITE;&lt;/P&gt;&lt;P&gt;Legend1&lt;/P&gt;&lt;P&gt;&amp;nbsp; FRAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=( FONT='Arial' HEIGHT=8pt JUSTIFY=LEFT&amp;nbsp;&amp;nbsp; " ")&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;Axis1&lt;/P&gt;&lt;P&gt;&amp;nbsp; STYLE=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WIDTH=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; MINOR=NONE&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=(&amp;nbsp; ANGLE=90 "Shadow Value ($/MW)")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Axis2&lt;/P&gt;&lt;P&gt;&amp;nbsp; STYLE=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WIDTH=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUE=(ANGLE=90)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL=NONE&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;TITLE;&lt;/P&gt;&lt;P&gt;FOOTNOTE;&lt;/P&gt;&lt;P&gt;PROC GCHART DATA=WORK.SORTTempTableSorted&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; VBAR &lt;/P&gt;&lt;P&gt;&amp;nbsp; TIME_INTV_1&lt;/P&gt;&lt;P&gt; /&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUMVAR=SHADOW_PRICE&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBGROUP=FLOWGATE_NAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLIPREF&lt;/P&gt;&lt;P&gt;FRAME CFRAME=WHITE&lt;/P&gt;&lt;P&gt;&amp;nbsp; MIDPOINTS="0:00"T TO "23:45"T BY "0:15"T&lt;/P&gt;&lt;P&gt;&amp;nbsp; TYPE=SUM&lt;/P&gt;&lt;P&gt;&amp;nbsp; MISSING&lt;/P&gt;&lt;P&gt;&amp;nbsp; LEGEND=LEGEND1&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUTLINE=SAME&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;&amp;nbsp; LREF=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; CREF=LTGRAY&lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOREF&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FORMAT TIME_INTV_1 HHMM5.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHADOW_PRICE DOLLAR8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LABEL &lt;/P&gt;&lt;P&gt;&amp;nbsp; FLOWGATE_NAME="Constraint"&lt;/P&gt;&lt;P&gt;&amp;nbsp; SHADOW_PRICE="Shadow Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp; EDR_TRADE_DT="Trade Date";&lt;/P&gt;&lt;P&gt;&amp;nbsp; BY DESCENDING EDR_TRADE_DT;&lt;/P&gt;&lt;P&gt;/* -------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; End of task code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ------------------------------------------------------------------- */&lt;/P&gt;&lt;P&gt;RUN; QUIT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 19:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197103#M7331</guid>
      <dc:creator>Vrin</dc:creator>
      <dc:date>2015-08-11T19:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Group values get truncated in proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197104#M7332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try putting the full text into an ORDER or VALUE statement in the legend and see what happens. You don't mention how many levels you have for your subgroup but if the graph size is small ( is that 450 by 300 pixels?) then you may have issues with space available so font and size for the values might be critical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 22:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197104#M7332</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-11T22:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Group values get truncated in proc gchart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197105#M7333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BallardW,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; From what I can tell this isn't simply a display issue, but rather a grouping issue, so that while I start out with ten sub-groups per day, some of them get grouped together so that only 8 or 9 show up on the chart since the names are identical until the last few characters which happen to be past the 32-character limit.&amp;nbsp; This makes the values identical after they get truncated, so they get grouped together erroneously.&amp;nbsp; Unfortunately I can't recode the values to be shorter since these names are already modified as much as possible from the original, so I can't shorten them to get around the 32-character limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Pearl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 23:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Group-values-get-truncated-in-proc-gchart/m-p/197105#M7333</guid>
      <dc:creator>Vrin</dc:creator>
      <dc:date>2015-08-11T23:36:06Z</dc:date>
    </item>
  </channel>
</rss>

