<?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: Custom Coloring 'Others' category in a vizlib combo chart. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2501179#M103291</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186962"&gt;@premacharya0903&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another solution might be to use an Aggr and Rank as Dimension.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can use this for the colors as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension&lt;/P&gt;
&lt;DIV&gt;=IF(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Aggr(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Rank(Sum(Value)), [Year-Month])&amp;lt;=3,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Year-Month],&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'New Others Field')&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Color Expression&lt;BR /&gt;
&lt;DIV&gt;=IF(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Aggr(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Rank(Sum(Value)), [Year-Month])&amp;lt;=3,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Green(),&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Blue())&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1736861600269.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176430i5DB27A96645CAE79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1736861600269.png" alt="JandreKillianRIC_0-1736861600269.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might need a bit more work to get multiple colors but this is the idea.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Jan 2025 13:34:03 GMT</pubDate>
    <dc:creator>JandreKillianRIC</dc:creator>
    <dc:date>2025-01-14T13:34:03Z</dc:date>
    <item>
      <title>Custom Coloring 'Others' category in a vizlib combo chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2500516#M103150</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;I have a combo bar chart with 3 measures (2 bar , 1 line)&amp;nbsp; &amp;nbsp;and 1 dimension . Measures are color coded - lets say green for 1st bar and red for 2nd bar.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;The chart would display top 5 dimensions and rest all clubbed into others. By default others are colored as grey .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Is there any workaround to color code both the bars for Others.It&lt;/SPAN&gt;&lt;SPAN data-teams="true"&gt;&amp;nbsp;should also be color coded same as above for&amp;nbsp; the measures.(green for 1st bar and red for 2nd bar. )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;The others would be dynamic based on filter selection , hence no static or hard coding&amp;nbsp; 'others' category in script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;#Bar&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 10:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2500516#M103150</guid>
      <dc:creator>premacharya0903</dc:creator>
      <dc:date>2025-01-09T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Coloring 'Others' category in a vizlib combo chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2501172#M103290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186962"&gt;@premacharya0903&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried doing this using css. But in the end I cant get this to work. However, You can get this to work by applying this in a theme. If you head over to&amp;nbsp;&lt;A href="https://sensetheme.com/" target="_blank"&gt;https://sensetheme.com/&lt;/A&gt;&amp;nbsp;you can create a custom theme. There is a section for the "otherColor".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1736860897946.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176427iFEB7771627A2A68A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1736860897946.png" alt="JandreKillianRIC_0-1736860897946.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 13:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2501172#M103290</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-14T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Coloring 'Others' category in a vizlib combo chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2501179#M103291</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186962"&gt;@premacharya0903&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another solution might be to use an Aggr and Rank as Dimension.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can use this for the colors as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension&lt;/P&gt;
&lt;DIV&gt;=IF(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Aggr(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Rank(Sum(Value)), [Year-Month])&amp;lt;=3,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Year-Month],&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'New Others Field')&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Color Expression&lt;BR /&gt;
&lt;DIV&gt;=IF(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Aggr(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Rank(Sum(Value)), [Year-Month])&amp;lt;=3,&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Green(),&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Blue())&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1736861600269.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176430i5DB27A96645CAE79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1736861600269.png" alt="JandreKillianRIC_0-1736861600269.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might need a bit more work to get multiple colors but this is the idea.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jan 2025 13:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2501179#M103291</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-14T13:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Coloring 'Others' category in a vizlib combo chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2502626#M103480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/174995"&gt;@JandreKillianRIC&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;
&lt;P&gt;Tried CSS, it worked&amp;nbsp; a single bar , but since i had 2 measures same color code was applied to both the measures .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Explored using chart scripting , i was able to update the 'others' as an exclusive dimension value , however customization was limited (or maybe i am still to explore ) .&lt;/P&gt;
&lt;P&gt;Unfortunately had to rely back on using aggr+rank for dimension , since this was a vizlib chart i am lucky to have the option to color the measure individually .&lt;/P&gt;
&lt;P&gt;However ,with the calculated dimension , dynamic viztips is out of question for now (but that is a problem for another day ) .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 10:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Coloring-Others-category-in-a-vizlib-combo-chart/m-p/2502626#M103480</guid>
      <dc:creator>premacharya0903</dc:creator>
      <dc:date>2025-01-23T10:56:38Z</dc:date>
    </item>
  </channel>
</rss>

