<?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 chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474242#M1135169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have bar chart with 1 dimension ( 8 tags) and 1 expression. I need that each tag has different color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know in expressions tab has Background Color, where I can code for each tag own color. &lt;/P&gt;&lt;P&gt;But when tags will be different of my coding, I get the same color for all not coding tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to make it automatically.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 21:40:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-15T21:40:53Z</dc:date>
    <item>
      <title>Colors in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474242#M1135169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have bar chart with 1 dimension ( 8 tags) and 1 expression. I need that each tag has different color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know in expressions tab has Background Color, where I can code for each tag own color. &lt;/P&gt;&lt;P&gt;But when tags will be different of my coding, I get the same color for all not coding tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to make it automatically.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474242#M1135169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Colors in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474243#M1135171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 22:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474243#M1135171</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-15T22:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Colors in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474244#M1135175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to achieve this, you might want to define the background color of your expression in your chart, as such:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Colors.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/47691_Colors.jpg" style="width: 620px; height: 281px;" /&gt;&lt;/P&gt;&lt;P&gt;Under the Definition field, you may enter any expression you wish to build that returns either a color, or a reference to the current color palette as defined under the "Colors" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression used above is &lt;SPAN style="color: #0000ff;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RowNo&lt;/SPAN&gt;(), &lt;SPAN style="color: #0000ff;"&gt;Yellow&lt;/SPAN&gt;(), &lt;SPAN style="color: #0000ff;"&gt;Green&lt;/SPAN&gt;(), &lt;SPAN style="color: #0000ff;"&gt;Red&lt;/SPAN&gt;(), &lt;SPAN style="color: #0000ff;"&gt;Blue&lt;/SPAN&gt;() ), which evaluates the row number for each different value of the selected dimension (in this case, I had 4), and based on that value, picks a color using the defined order, such as 1=Yellow, 2=Green, 3=Red and 4=Blue. Of course, you may opt to replace these colors with a more specific color coding using the &lt;SPAN style="color: #0000ff;"&gt;RGB&lt;/SPAN&gt;(&lt;EM&gt;n&lt;/EM&gt;,&lt;EM&gt;n&lt;/EM&gt;,&lt;EM&gt;n&lt;/EM&gt;) function, with n=[0..255].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to reuse the current color scheme, the expression is a lot simpler: &lt;SPAN style="color: #0000ff;"&gt;Color&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RowNo&lt;/SPAN&gt;()). In this case, the row number shall be used to pick the color from the color palette as defined under the "Colors", in their specified order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 22:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colors-in-chart/m-p/474244#M1135175</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2013-10-15T22:56:44Z</dc:date>
    </item>
  </channel>
</rss>

