<?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 based on time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902479#M313855</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;Can anyone tell me how to get color coding into charts much like they did in the salesforce demo app?&amp;nbsp; They used a particular color for Past, Present, &amp;amp; Future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw" style="font-size: 10pt; line-height: 1.5em;" title="http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw"&gt;http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 15:21:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-25T15:21:29Z</dc:date>
    <item>
      <title>Colors based on time</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902479#M313855</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;Can anyone tell me how to get color coding into charts much like they did in the salesforce demo app?&amp;nbsp; They used a particular color for Past, Present, &amp;amp; Future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw" style="font-size: 10pt; line-height: 1.5em;" title="http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw"&gt;http://us-b.demo.qlik.com/detail.aspx?appName=Salesforce.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 15:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902479#M313855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-25T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Colors based on time</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902480#M313856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can dowload the .qvw to see (and copy too!) the different tricks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;They used a a mix of different ways, not only one, so is a bit difficult to explain all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;for the bar chart at the center of the image&lt;/P&gt;&lt;P&gt;there are some variables (vCurrentQ) to identify the quarter&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vPreviousQ ='Q' &amp;amp; if(Ceil(Month(vTodaysDate)/3)=1,4,Ceil(Month(vTodaysDate)/3)-1) &amp;amp; '-' &amp;amp; if(Ceil(Month(vTodaysDate)/3)=1,Right(Year(vTodaysDate),2)-1,Right(Year(vTodaysDate),2))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and in chart background color of the expression&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([Opportunity Close Quarter/Year]=vCurrentQ,rgb(245,165,3),if([Opportunity Close Quarter/Year]=vFutureQ,rgb(114,146,139),rgb(247,158,174)))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in other chart (the bar chart at the center left of the image)&amp;nbsp; they used the color tab of the chart because they already know the color (Q4 --&amp;gt; pink)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902480#M313856</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-25T19:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Colors based on time</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902481#M313857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - I'm unfamiliar with what the A in ARGB stands for, and how I can relate that to a particular color I'd like to use. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902481#M313857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-25T20:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Colors based on time</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902482#M313858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView help&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="ARGB"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;EM&gt;ARGB(&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class="Italic"&gt;alpha, e1, e2, e3&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This function returns the color representation of a color defined by the red component &lt;SPAN class="Italic"&gt;e1&lt;/SPAN&gt;, the green component &lt;SPAN class="Italic"&gt;e2&lt;/SPAN&gt; and the blue component &lt;SPAN class="Italic"&gt;e3&lt;/SPAN&gt; with an alpha factor (opacity) of alpha. All four parameters must be expressions evaluating to integers in the range between 0 and 255. The color representation is a dual value where the text representation comes in the form of 'RGB(a,r, g, b)' where a, r, g and b are numbers between 0 and 255 representing the alpha, red, green and blue color value respectively. The number representation is an integer representing the alpha, red, green and blue components as defined in Visual Basic. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and a quick test&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90882_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-based-on-time/m-p/902482#M313858</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-25T20:52:24Z</dc:date>
    </item>
  </channel>
</rss>

