<?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: Colors and Legend Ordering in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1647641#M48274</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add dual value to the dimension or add additional dimension like this in the load script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;[Coverage Group (All)], ='Short', 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if([Coverage Group (All)], ='Med', 2)) as Sort (add more ifs)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After doing this you can use the Sort field to Sort the bar chart.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2019 20:47:09 GMT</pubDate>
    <dc:creator>y_grynechko</dc:creator>
    <dc:date>2019-11-15T20:47:09Z</dc:date>
    <item>
      <title>Colors and Legend Ordering</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1644994#M48106</link>
      <description>&lt;P class="x_MsoNormal"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="colors.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23252i64E32496BFB838C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="colors.jpg" alt="colors.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;As per screenshot, b&lt;SPAN&gt;y using custom colours for a chart (by creating a master dimension and assigning colours to each dimension) messes with the ordering of the Key I want it to be in a specific order. I use the below sorting expression however it does not affect the key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Match([Coverage Group (All)],'Short','Med','Long','Very Long','Dead Stock','NYA','Cat 0')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1644994#M48106</guid>
      <dc:creator>AndrewMcIlwrick</dc:creator>
      <dc:date>2024-11-16T04:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Colors and Legend Ordering</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1647641#M48274</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add dual value to the dimension or add additional dimension like this in the load script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;[Coverage Group (All)], ='Short', 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if([Coverage Group (All)], ='Med', 2)) as Sort (add more ifs)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After doing this you can use the Sort field to Sort the bar chart.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 20:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1647641#M48274</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-11-15T20:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Colors and Legend Ordering</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1649022#M48381</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This still does not affect the Legend sorting unfortunately.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 10:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-and-Legend-Ordering/m-p/1649022#M48381</guid>
      <dc:creator>ksharpes</dc:creator>
      <dc:date>2019-11-20T10:59:19Z</dc:date>
    </item>
  </channel>
</rss>

