<?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: Maintain Same Colors across different pie charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316621#M1192794</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;&amp;nbsp;&amp;nbsp; Checkout this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 18:32:34 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-06-23T18:32:34Z</dc:date>
    <item>
      <title>Maintain Same Colors across different pie charts</title>
      <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316619#M1192792</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;I have a Dimension called Region and I want to calculate Hires and Turnover according to this dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 of the Regions have zero values for Turnover. As a result when I make&amp;nbsp; separate pie charts to calulate Turnover and Hires, the colors on the legend corresponding to each region are different. Please have a look at the attached QVW for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some color setting on the chart using which I can maintain the same colors for a particular region on both charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg.&amp;nbsp; Australia should appear as Red in both the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316619#M1192792</guid>
      <dc:creator />
      <dc:date>2011-06-23T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain Same Colors across different pie charts</title>
      <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316620#M1192793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't expect this to work, but it looks like checkmarking "Persistent Colors" on the Colors tab on both charts does the trick.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want explicit control over the color of each region, you could code it as a background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(Region='Australia',red()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,if(Region='Asia',rgb(130,140,150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could define the colors in the script, either with an inline load or maybe a load from a spreadsheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RegionColors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Region,R,G,B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Australia,200,100,100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Asia,130,140,150&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And have a simpler background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;rgb(R,G,B)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316620#M1192793</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-06-23T18:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain Same Colors across different pie charts</title>
      <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316621#M1192794</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;&amp;nbsp;&amp;nbsp; Checkout this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316621#M1192794</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-23T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain Same Colors across different pie charts</title>
      <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316622#M1192795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Have you seen this article &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.qlikfix.com/2010/12/17/consistent-dimension-colors/"&gt;http://www.qlikfix.com/2010/12/17/consistent-dimension-colors/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316622#M1192795</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-23T18:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain Same Colors across different pie charts</title>
      <link>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316623#M1192796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Kaushik and John for the prompt response. I tried the same solution as suggested by John , but did not check mark 'Persistent Colors'. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 18:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maintain-Same-Colors-across-different-pie-charts/m-p/316623#M1192796</guid>
      <dc:creator />
      <dc:date>2011-06-23T18:46:42Z</dc:date>
    </item>
  </channel>
</rss>

