<?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 PIE Wrap or Split Text in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501146#M17089</link>
    <description>&lt;P&gt;You are right, there is no FITPOLICY option for GTL PIECHART.&amp;nbsp; I suggest you call in a suggestion to SAS Tech Support.&lt;/P&gt;
&lt;P&gt;You can try using CENTERFIRSTSLICE option if you are using GTL to see if you get better placement.&amp;nbsp; This will not work with GCHART.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 14:15:47 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2018-10-03T14:15:47Z</dc:date>
    <item>
      <title>PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501136#M17088</link>
      <description>&lt;P&gt;I have a pie chart with some very long labels.&amp;nbsp; I know for other chart types, you can use fitpolicy=split to cause the text to wrap.&amp;nbsp; Do pie charts have a simlar option?&amp;nbsp; Otherwise, I end up with tiny charts and very long labels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the slice property to move the label inside outside and arrow. This changes the alignment, but still looks pretty sloppy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gchart66.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23744i4A96DFB03A096A6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="gchart66.png" alt="gchart66.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 14:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501136#M17088</guid>
      <dc:creator>tdwilliams1</dc:creator>
      <dc:date>2018-10-03T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501146#M17089</link>
      <description>&lt;P&gt;You are right, there is no FITPOLICY option for GTL PIECHART.&amp;nbsp; I suggest you call in a suggestion to SAS Tech Support.&lt;/P&gt;
&lt;P&gt;You can try using CENTERFIRSTSLICE option if you are using GTL to see if you get better placement.&amp;nbsp; This will not work with GCHART.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 14:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501146#M17089</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-10-03T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501192#M17090</link>
      <description>&lt;P&gt;It might help to so the code you are using so we know the actual options in effect.&lt;/P&gt;
&lt;P&gt;You might try a LEGEND to generate a reference legend instead of placing the labels&amp;nbsp; beside the slices. You have fair control of location and such.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501192#M17090</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501193#M17091</link>
      <description>&lt;P&gt;Here is the code.&amp;nbsp; As you will notice right away, it is running within a macro, so there ar a lot of macro variables. But it should illustrate the options I'm using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the legend option, but that creates a whole new set of layout problems, since I cannot figure out how to get the legend text to wrap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;goptions reset=all cback=white border htitle=12pt htext=10pt ;&lt;BR /&gt;proc gchart&lt;BR /&gt;Data=&amp;amp;ResultsTable&lt;BR /&gt;(&lt;BR /&gt;WHERE=&lt;BR /&gt;(&lt;BR /&gt;Category = "&amp;amp;Category" and&lt;BR /&gt;MeasureName="&amp;amp;MeasureName" and&lt;BR /&gt;StudyGroupField= "&amp;amp;StudyGroupField" )&lt;BR /&gt;)&lt;BR /&gt;;&lt;BR /&gt;Title "&amp;amp;Category &amp;amp;MeasureName";&lt;BR /&gt;pie MeasureValue /&lt;BR /&gt;sumvar=Members&lt;BR /&gt;group= StudyGroup&lt;BR /&gt;across=&amp;amp;StudyGroupCount&lt;BR /&gt;percent=arrow&lt;BR /&gt;NoHeading&lt;BR /&gt;slice=arrow&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;Title;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501193#M17091</guid>
      <dc:creator>tdwilliams1</dc:creator>
      <dc:date>2018-10-03T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501208#M17092</link>
      <description>&lt;P&gt;Proc Gchart is not likely to receive many upgrades because of the limitations of device dependent output graphics.&lt;/P&gt;
&lt;P&gt;I am going to suggest looking into LEGEND as something that works relatively simple with Proc Gchart pie charts. Or make the values of the group variables shorter. Or use an annotate data set, which is not going to be easy in any way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If someone is not forcing use of a pie chart I would suggest moving to Proc Sgplot or GTL and use of a bar chart or other graphic instead of pie charts.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501208#M17092</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T16:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501217#M17093</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13856"&gt;@Jay54&lt;/a&gt;&amp;nbsp;mentioned, pie charts are supported in GTL. Using the legend support in DISCRETELEGEND might get you something that will work for you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501217#M17093</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-10-03T17:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART PIE Wrap or Split Text</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501219#M17094</link>
      <description>&lt;P&gt;A macro for creating Pie Charts using GTL was published here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2018/06/25/pie-charts-redux/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2018/06/25/pie-charts-redux/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code is included in link at the bottom of the article.&amp;nbsp; Only a few parameters are needed, but more are provided to tweak the results.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GCHART-PIE-Wrap-or-Split-Text/m-p/501219#M17094</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-10-03T17:31:00Z</dc:date>
    </item>
  </channel>
</rss>

