<?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 Need Help: How to use ColorMix2 function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194599#M714757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I've been trying to put gradient colors on bar chart thourhg the Color Wizard: Not by using the color setting on the color tab.&lt;/P&gt;&lt;P&gt;According to help, it seems to be possible to do it with ColorMix2() function: it says "colormix2(x, red(), green()) returns colors in a gradient from red to green, via brown." * x is a real number between -1 and 1.&lt;/P&gt;&lt;P&gt;However, i never succeeded. If I put "colormix2(0, red(), green())," it always returns brown with no gradient.&lt;/P&gt;&lt;P&gt;Has anyone succeeded in using this function? Or is this a bug?&lt;/P&gt;&lt;P&gt;Thanks for your kind help,&lt;/P&gt;&lt;P&gt;OGA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 08:37:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-22T08:37:14Z</dc:date>
    <item>
      <title>Need Help: How to use ColorMix2 function?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194599#M714757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I've been trying to put gradient colors on bar chart thourhg the Color Wizard: Not by using the color setting on the color tab.&lt;/P&gt;&lt;P&gt;According to help, it seems to be possible to do it with ColorMix2() function: it says "colormix2(x, red(), green()) returns colors in a gradient from red to green, via brown." * x is a real number between -1 and 1.&lt;/P&gt;&lt;P&gt;However, i never succeeded. If I put "colormix2(0, red(), green())," it always returns brown with no gradient.&lt;/P&gt;&lt;P&gt;Has anyone succeeded in using this function? Or is this a bug?&lt;/P&gt;&lt;P&gt;Thanks for your kind help,&lt;/P&gt;&lt;P&gt;OGA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 08:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194599#M714757</guid>
      <dc:creator />
      <dc:date>2010-04-22T08:37:14Z</dc:date>
    </item>
    <item>
      <title>Need Help: How to use ColorMix2 function?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194600#M714758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ColorMix2()'s first argument - the one you hard-coded as 0 - decides the level of gradient. As long as you use 0 there, you will always get brown. You need to replace the 0 with the actual values you want to color-code by. For example, if you have a percentage value between 0 and 100%, and 100% is good, you might use:&lt;/P&gt;&lt;P&gt;ColorMix2((myValue*2)-1,red(),green()) --&amp;gt; If your value is 100%, the first section will return 1. If it is 50%, it will return 0. If it is 0%, it will return -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could try the ColorMix wizard, available from the Expression Editor's 'File' menu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 09:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194600#M714758</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-04-22T09:11:38Z</dc:date>
    </item>
    <item>
      <title>Need Help: How to use ColorMix2 function?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194601#M714759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Or Shoham&lt;/P&gt;&lt;P&gt;Thanks for the comments.&lt;/P&gt;&lt;P&gt;So, basically, the idea of ColorMix2() function is that the function returns a gradient color to several bars. If I have 10 bars in a bar chart, it would be gradient from the top var to the bottom bar. Yet, I cannot be a gradient in ONE bar? Am I right?&lt;/P&gt;&lt;P&gt;Thank you for your help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 07:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-How-to-use-ColorMix2-function/m-p/194601#M714759</guid>
      <dc:creator />
      <dc:date>2010-04-23T07:26:11Z</dc:date>
    </item>
  </channel>
</rss>

