<?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 Colors in bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colors-in-bar-chart/m-p/310340#M114575</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;I want to have two colors on the bars in a chart. The bars are calculated through a if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( something * something = something, true, false )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the case above I have a date dimension, so for all true I want the bar to be green and for all false I want the bar to be red. Is this possible and how should I write the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 13:22:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-10T13:22:15Z</dc:date>
    <item>
      <title>Colors in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-in-bar-chart/m-p/310340#M114575</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;I want to have two colors on the bars in a chart. The bars are calculated through a if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( something * something = something, true, false )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the case above I have a date dimension, so for all true I want the bar to be green and for all false I want the bar to be red. Is this possible and how should I write the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 13:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-in-bar-chart/m-p/310340#M114575</guid>
      <dc:creator />
      <dc:date>2011-11-10T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Colors in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-in-bar-chart/m-p/310341#M114576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this can be done in following way:&lt;/P&gt;&lt;P&gt;in Expressions tab of the bar chart properties expand expression item and you will find there its 'Background color' attribute. In definition for that attribute add &lt;STRONG&gt;if(&amp;lt;your_date_condition&amp;gt;, RGB( 50,&amp;nbsp; 140, 3), RGB( 250,&amp;nbsp; 4, 3))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 13:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-in-bar-chart/m-p/310341#M114576</guid>
      <dc:creator />
      <dc:date>2011-11-10T13:43:30Z</dc:date>
    </item>
  </channel>
</rss>

