<?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: Change order of parts in a bar chart in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794196#M15800</link>
    <description>&lt;P&gt;Show us your code please.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 12:01:44 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2022-02-03T12:01:44Z</dc:date>
    <item>
      <title>Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794195#M15799</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal is to display my data in a bar chart with 2 bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the data in one category, from which I want to use 5 variables.4 of these (A, B, C, D) should be blocks in bar 1. And the 5th (X) should be bar 2.&lt;/P&gt;&lt;P&gt;For this I have created a custom category using these 5 variables.&lt;/P&gt;&lt;P&gt;In setting up the customized category I created one value group "Bar 1" where i placed the 4 variables (A, B, C, D) for Bar 1, and another value group for "Bar 2" where I placed the 5th variable (X).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use my custom category in a bar chart, I now have two bars. One with A, B, C, D and one with X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;In Bar 1. Can I customize the order of which A, B, C, D are stacked in the bar?&lt;/P&gt;&lt;P&gt;They are now, from bottom to top, placed as A, B, C, D. I see that I can right-click the bar chart and change the order between decending and ascending. This only gives me two display-options: A, B, C, D and D, C, B, A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What if I want to display them as B, D, A, C ?&lt;/P&gt;&lt;P&gt;I have tried to edit the custom category and change the order there, but nothing happens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794195#M15799</guid>
      <dc:creator>GustavSandberg</dc:creator>
      <dc:date>2022-02-03T11:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794196#M15800</link>
      <description>&lt;P&gt;Show us your code please.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 12:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794196#M15800</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-02-03T12:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794197#M15801</link>
      <description>&lt;P&gt;How are you creating the bar charts? Show us the code (in a code box, click on the little running man icon and paste the code into the window that appears; do not provide the code as a screen capture)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 12:01:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794197#M15801</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-03T12:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794203#M15802</link>
      <description>&lt;P&gt;I have done this is Visual Analytics using no code. Just dragged and dropped a bar chart and assigned data to it.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 12:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794203#M15802</guid>
      <dc:creator>GustavSandberg</dc:creator>
      <dc:date>2022-02-03T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794285#M15803</link>
      <description>&lt;P&gt;Which version are you using? And can you post an example of how&amp;nbsp; your chart appears now&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 17:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794285#M15803</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2022-02-03T17:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794424#M15804</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current version is SAS VA V.03.05M0P111119.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the bar chart looks like. In the bar to the left, I want to place the middle block on the bottom.&lt;/P&gt;&lt;P&gt;(I always want the same order of the blocks, no matter the size of the blocks for the chosen period.)&amp;nbsp;&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-center" image-alt="barchart.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68190i1164C69653F708A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="barchart.png" alt="barchart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gustav&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 08:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794424#M15804</guid>
      <dc:creator>GustavSandberg</dc:creator>
      <dc:date>2022-02-04T08:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794541#M15805</link>
      <description>&lt;P&gt;You said that you tried changing the order in your custom category. Have you tired creating a custom sort?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 15:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794541#M15805</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2022-02-04T15:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of parts in a bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794552#M15807</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, I have tried changing order in my custom category.&lt;/P&gt;&lt;P&gt;Trying to create a custom sort on my custom category only allows me to change order of the value groups, but not the variables inside the value groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, a colleague of mine did solve it earlier today by doing a custom sort on the original category, on which the custom cateogry was based.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gustav&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 16:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-order-of-parts-in-a-bar-chart/m-p/794552#M15807</guid>
      <dc:creator>GustavSandberg</dc:creator>
      <dc:date>2022-02-04T16:23:00Z</dc:date>
    </item>
  </channel>
</rss>

