<?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 Background Color of a bar chart based on some field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419344#M564677</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;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I tried with the help of my colleague.&lt;/P&gt;&lt;P&gt;We tried like the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(RowNo()=1, RGB(114,103,241),&lt;/P&gt;&lt;P&gt;If(RowNo()=2, RGB(243,70,1),&lt;/P&gt;&lt;P&gt;If(RowNo()=3, RGB(1,228,120),&lt;/P&gt;&lt;P&gt;If(RowNo()=4, RGB(2,208,206),&lt;/P&gt;&lt;P&gt;If(RowNo()=5, RGB(2,0,205),&lt;/P&gt;&lt;P&gt;If(RowNo()=6, RGB(253,153,203)&lt;/P&gt;&lt;P&gt;))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked for me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2013 11:54:40 GMT</pubDate>
    <dc:creator>udaya_kumar</dc:creator>
    <dc:date>2013-01-14T11:54:40Z</dc:date>
    <item>
      <title>Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419339#M564672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have an Inline field created in edit script by name consider Fruit.&lt;/P&gt;&lt;P&gt;It has values like All, Apple, Banana, Orange, Mango, Pineapple.&lt;/P&gt;&lt;P&gt;I have a database field by name FRUIT.&lt;/P&gt;&lt;P&gt;These two Fruit and FRUIT are linked in the script like&lt;/P&gt;&lt;P&gt;All,Apple&lt;/P&gt;&lt;P&gt;All,Banana&lt;/P&gt;&lt;P&gt;All,Orange&lt;/P&gt;&lt;P&gt;All,Mango&lt;/P&gt;&lt;P&gt;All,Pineapple&lt;/P&gt;&lt;P&gt;Apple,Apple&lt;/P&gt;&lt;P&gt;Banana,Banana&lt;/P&gt;&lt;P&gt;Orange,Orange&lt;/P&gt;&lt;P&gt;Mango,Mango&lt;/P&gt;&lt;P&gt;Pineapple,Pineapple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Fruit field in my Listbox as filter and FRUIT as a dimension in the Bar Chart.&lt;/P&gt;&lt;P&gt;I have applied the background color for FRUIT in the expression in the Chart, background color.&lt;/P&gt;&lt;P&gt;It is working fine. but when we select any value from listbox like "Apple",&lt;/P&gt;&lt;P&gt;then only Apple is shown in red color in the chart and other values are shown in the basic blue color.&lt;/P&gt;&lt;P&gt;But it should show the color defined in the expressions even if user selects any value from Listbox.&lt;/P&gt;&lt;P&gt;How we can achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 09:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419339#M564672</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2013-01-14T09:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419340#M564673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach some data file? So that it will be more clear to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 10:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419340#M564673</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2013-01-14T10:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419341#M564674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ye ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 10:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419341#M564674</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-01-14T10:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419342#M564675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;( WildMatch (&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;&lt;EM&gt;Fruit&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; , 'Apple'), &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(0, 255, 0), &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(192, 192, 192,) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;Or else try same condition in nested If&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 10:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419342#M564675</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2013-01-14T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419343#M564676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This post may offer a solution, by adding the RGB code into the data model, and assosicating to the required dimensions: &lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/291658#291658" title="http://community.qlik.com/message/291658#291658"&gt;http://community.qlik.com/message/291658#291658&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 10:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419343#M564676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-14T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Background Color of a bar chart based on some field</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419344#M564677</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;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I tried with the help of my colleague.&lt;/P&gt;&lt;P&gt;We tried like the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(RowNo()=1, RGB(114,103,241),&lt;/P&gt;&lt;P&gt;If(RowNo()=2, RGB(243,70,1),&lt;/P&gt;&lt;P&gt;If(RowNo()=3, RGB(1,228,120),&lt;/P&gt;&lt;P&gt;If(RowNo()=4, RGB(2,208,206),&lt;/P&gt;&lt;P&gt;If(RowNo()=5, RGB(2,0,205),&lt;/P&gt;&lt;P&gt;If(RowNo()=6, RGB(253,153,203)&lt;/P&gt;&lt;P&gt;))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked for me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 11:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Background-Color-of-a-bar-chart-based-on-some-field/m-p/419344#M564677</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2013-01-14T11:54:40Z</dc:date>
    </item>
  </channel>
</rss>

