<?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: Reactive bar chart - Legend order flipping in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760817#M58822</link>
    <description>&lt;P&gt;Sort order of what? Is there any possibility to define an order within a reactive calculation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;The code for the group-dimension in my bar chart is written in R included in R.ScriptEval()&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSDD_0-1605112730620.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44019iF0936235BC401044/image-size/large?v=v2&amp;amp;px=999" role="button" title="DSDD_0-1605112730620.png" alt="DSDD_0-1605112730620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say the two levels of my grouping variable are "bottom" and "top". But my output-column depending on the reactive input value not necessarily contains both.&lt;/P&gt;&lt;P&gt;Is there a chance to define the order, maybe within a variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 16:43:30 GMT</pubDate>
    <dc:creator>DSDD</dc:creator>
    <dc:date>2020-11-11T16:43:30Z</dc:date>
    <item>
      <title>Reactive bar chart - Legend order flipping</title>
      <link>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760770#M58815</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;i created a reactive bar chart. The problem is that the legend order respectively the color of the groups flip arbitrarily dependig on the users selection via a slider.&lt;/P&gt;&lt;P&gt;Example slider value 30&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSDD_0-1605106067942.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44003i4F1C96427AFBEA39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSDD_0-1605106067942.png" alt="DSDD_0-1605106067942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Slider value 70, other selection&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSDD_1-1605106169477.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44004iAA0959502145E8C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSDD_1-1605106169477.png" alt="DSDD_1-1605106169477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Other Selection, other slider value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSDD_2-1605106228917.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44005iE9D81FA785109D05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DSDD_2-1605106228917.png" alt="DSDD_2-1605106228917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On what does this depend? Does it depend on the first data row of the result?&lt;/P&gt;&lt;P&gt;How can i define the desired order and desired color??&lt;/P&gt;&lt;P&gt;Caveat: The Grouping dimension depends on a reactive variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760770#M58815</guid>
      <dc:creator>DSDD</dc:creator>
      <dc:date>2024-11-16T17:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reactive bar chart - Legend order flipping</title>
      <link>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760786#M58817</link>
      <description>&lt;P&gt;hard to diagnose without more details but most likely due to your sort order&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 15:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760786#M58817</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-11-11T15:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reactive bar chart - Legend order flipping</title>
      <link>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760817#M58822</link>
      <description>&lt;P&gt;Sort order of what? Is there any possibility to define an order within a reactive calculation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;The code for the group-dimension in my bar chart is written in R included in R.ScriptEval()&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DSDD_0-1605112730620.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44019iF0936235BC401044/image-size/large?v=v2&amp;amp;px=999" role="button" title="DSDD_0-1605112730620.png" alt="DSDD_0-1605112730620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say the two levels of my grouping variable are "bottom" and "top". But my output-column depending on the reactive input value not necessarily contains both.&lt;/P&gt;&lt;P&gt;Is there a chance to define the order, maybe within a variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 16:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reactive-bar-chart-Legend-order-flipping/m-p/1760817#M58822</guid>
      <dc:creator>DSDD</dc:creator>
      <dc:date>2020-11-11T16:43:30Z</dc:date>
    </item>
  </channel>
</rss>

