<?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: Bar Color in Combo Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571897#M1111653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each expresion as an small "+" just beside it.&lt;/P&gt;&lt;P&gt;Click on it and set "Background Color"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53873_Capturar.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 12:04:53 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2014-02-26T12:04:53Z</dc:date>
    <item>
      <title>Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571894#M1111650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to change single bar color in combo chart.&lt;/P&gt;&lt;P&gt;For Example: Dim = Product&lt;/P&gt;&lt;P&gt;Measure 1: Quantity&lt;/P&gt;&lt;P&gt;Measure 2: Price&lt;/P&gt;&lt;P&gt;Measure 3: Revenue&lt;/P&gt;&lt;P&gt;Note: Measure 1 &amp;amp; 2 are grouped (Drilling in Expression).&lt;/P&gt;&lt;P&gt;However My Requirement is, should display Quantity (Bar) is in Red color and Price (Bar) is in Green color. (When i click drill in chart)&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NiHhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 11:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571894#M1111650</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2014-02-26T11:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571895#M1111651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you drill on the expression you can enter code for the bar colour, it will need to be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Only(Product) = 'Quantity', rgb(255, 100, 100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Only(Product) = 'Price', rgb(100, 255, 100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Only(Product) = 'Revenue', rgb(100, 100, 255), null())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null will revert back to the colours on the colour tab of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tend to always put colours in variables, so that the colour can be changed in one place regardless of where it appears, eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Only(Product) = 'Quantity', $(vColQuantity),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Only(Product) = 'Price', $(vColPrice),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Only(Product) = 'Revenue', $(vColRevenue), null())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4484"&gt;Steve Dark&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 11:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571895#M1111651</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-26T11:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571896#M1111652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for swift reply,&lt;/P&gt;&lt;P&gt;Please let me know where can i paste exactly this script.&lt;/P&gt;&lt;P&gt;Actually i want to change color only for &lt;STRONG&gt;Quantity&lt;/STRONG&gt; Bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NiHhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 11:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571896#M1111652</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2014-02-26T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571897#M1111653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each expresion as an small "+" just beside it.&lt;/P&gt;&lt;P&gt;Click on it and set "Background Color"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53873_Capturar.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571897#M1111653</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-02-26T12:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571898#M1111654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Clever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nihal, if you follow Clever's screenshot you can find the Background Colour code.&amp;nbsp; The code will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=if(Only(Product) = 'Quantity', rgb(255, 100, 100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(Only(Product) = 'Price', null(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(Only(Product) = 'Revenue', null(), null())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Obviously you could simplify to take out the IF statements for Price and Revenue - but this will allow you to drop in other colours at a later date if you wish.&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571898#M1111654</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-26T12:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571899#M1111655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4484"&gt;Steve Dark&lt;/A&gt;, I think &lt;A href="https://community.qlik.com/qlik-users/89084"&gt;Nihhal L&lt;/A&gt; wants to see each bar with differente colors, right?&lt;/P&gt;&lt;P&gt;Maybe you don´t need an IF statement, a fixed lightred() and lightgreen() should work on each bar &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571899#M1111655</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-02-26T12:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571900#M1111656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, I missed that they were different expressions rather than dimensions.&amp;nbsp; In that case the simpler approach would be to go to the colours tab and click the multicoloured tick box and set colours 1, 2 and 3 through the UI.&amp;nbsp; Doing it in code perhaps the more robust though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571900#M1111656</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-26T12:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Color in Combo Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571901#M1111657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Clever Anjos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NiHhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 06:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Color-in-Combo-Chart/m-p/571901#M1111657</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2014-02-27T06:03:14Z</dc:date>
    </item>
  </channel>
</rss>

