<?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 Stacked Bar Charts in Proc sgrender in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132460#M5136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;My goal:&lt;/P&gt;&lt;P style="padding-left: 30px; text-align: justify;"&gt;Produce a stacked bar chart by frequency of a variable that lists the decrease or increase of each group from the previous bar.&lt;/P&gt;&lt;P style="padding-left: 30px; text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I have done this with a regular bar chart by overlaying a bubbleplot in Proc Template with transparent bubbles that labels the data point with my increase/decrease variable value; this is displayed in the "Bar Chart" image attached. Now, I need to do the same thing, only for a stacked bar chart, which is proving difficult. I have attached a second image, "Stacked Bar Chart," where I have manually added the values to illustrate what I am trying to accomplish. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Does anybody have an idea of how I would approach this?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11898i4E250EC508575133/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stacked Bar Chart.png" title="Stacked Bar Chart.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11899i74AC21BC2DD3D143/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Bar Chart.png" title="Bar Chart.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 14:34:43 GMT</pubDate>
    <dc:creator>faithelyse</dc:creator>
    <dc:date>2013-05-08T14:34:43Z</dc:date>
    <item>
      <title>Stacked Bar Charts in Proc sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132460#M5136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;My goal:&lt;/P&gt;&lt;P style="padding-left: 30px; text-align: justify;"&gt;Produce a stacked bar chart by frequency of a variable that lists the decrease or increase of each group from the previous bar.&lt;/P&gt;&lt;P style="padding-left: 30px; text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I have done this with a regular bar chart by overlaying a bubbleplot in Proc Template with transparent bubbles that labels the data point with my increase/decrease variable value; this is displayed in the "Bar Chart" image attached. Now, I need to do the same thing, only for a stacked bar chart, which is proving difficult. I have attached a second image, "Stacked Bar Chart," where I have manually added the values to illustrate what I am trying to accomplish. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Does anybody have an idea of how I would approach this?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11898i4E250EC508575133/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stacked Bar Chart.png" title="Stacked Bar Chart.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11899i74AC21BC2DD3D143/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Bar Chart.png" title="Bar Chart.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132460#M5136</guid>
      <dc:creator>faithelyse</dc:creator>
      <dc:date>2013-05-08T14:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Charts in Proc sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132461#M5137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be tricky as the (stacked) group bar chart is summarizing the data, and you don't know where to place the labels.&amp;nbsp; One way would be to summarize the data yourself and precompute the low and high (and middle) of each bar segment in your data step.&amp;nbsp; Put the delta values in another column.&amp;nbsp; Then, use the HIGHLOW plot to draw the bars and use an overlaid scatter with MarkerChar to draw the delta values in the middle location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:45:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132461#M5137</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-05-08T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Charts in Proc sgrender</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132462#M5138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sanjay; I will try this now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Stacked-Bar-Charts-in-Proc-sgrender/m-p/132462#M5138</guid>
      <dc:creator>faithelyse</dc:creator>
      <dc:date>2013-05-08T14:59:35Z</dc:date>
    </item>
  </channel>
</rss>

