<?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 Pie Chart - same color for value/field, also when order changes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312583#M115439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, thats what I need, the same color for the same city all the time, even if they change their order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 20:39:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-10T20:39:37Z</dc:date>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312576#M115432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Pie Chart with one Dimension (Department) and I want to set a specific color for each department. i.e&amp;nbsp;&amp;nbsp; Opex = brown, Z + R = blue, Part M = green ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="8554" alt="Pie Chart.bmp" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/8554_Pie+Chart.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the order changes (i.e. Z + R is 2nd or 3rd) then the department should still have the same color, Opex = red, Z + R = green, Part M = blue ...,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I define individual color for eych value of the dimension used in the Pie Chart, even if a value is numer 1 oder number 7?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Here is another example. I have cities and the colors change when I&amp;nbsp; select different times. But I need the same color for the same city, even when the city is first or last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312576#M115432</guid>
      <dc:creator />
      <dc:date>2011-11-10T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312577#M115433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Just check the "persistent color" checbox on color properties.&amp;nbsp; Colors will be stable, at least until next reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312577#M115433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T19:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312578#M115434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open, Expression box and set the colors based on dimension values in the background color.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="BackgroundColor.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/8556_BackgroundColor.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancing this feature, you can have the colors RGB/brown,red,etc in data model and call them here.&lt;/P&gt;&lt;P&gt;say Dept,DeptColor; your expression would be =DeptColor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312578#M115434</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:03:36Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312579#M115435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, thats the solution. The only thing now is, I have a if-statement with 7 stages &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(city='Hamburg',rgb(10,110,100),if(city='Rostock',rgb(210,220,200),if(city='München',rgb(30,230,200),if(city='Berlin',rgb(40,40,100),if(city='Köln',rgb(50,50,500),if(city='Leipzig',rgb(60,60,100), if(city='New York',rgb(70,20,200))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312579#M115435</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:16:26Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312580#M115436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could place this if statment in your script and then just place the field in the Backround expression box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312580#M115436</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:18:38Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312581#M115437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your script add a inline load of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;city,CityColor&lt;/P&gt;&lt;P&gt;Hambur,rgb(10,110,100)&lt;/P&gt;&lt;P&gt;Rostock,rgb(210,220,200) etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the formula have it as =CityColor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be lite on your expression and easily mainainable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312581#M115437</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:19:33Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312582#M115438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If &lt;STRONG&gt;all &lt;/STRONG&gt;you need is a &lt;STRONG&gt;consistency &lt;/STRONG&gt;of colors, my suggestion about the checkbox is more than enough.&lt;/P&gt;&lt;P&gt;Hardcoding colors in the script is relaible, but it makes sense only if you need more than simple consistency, e.g. the same colors for the same Cities all the time - but in this case you have to ensure that the list of cities is static, no new values.&amp;nbsp; If the list of cities may change, there will be more complications that I consider unnecessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312582#M115438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T20:37:30Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312583#M115439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, thats what I need, the same color for the same city all the time, even if they change their order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312583#M115439</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312584#M115440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Pie Chart.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/8558_Pie+Chart.bmp" width="450" /&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I add the color into the table then my Pie Chart is all black. Do you have a suggestion? I tried both, 1) adding the color into the inline table and 2) creating a new table with the color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312584#M115440</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:52:21Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312585#M115441</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 think QV doesn't recognize a value = RGB(&amp;nbsp; 10,100, 200). Why I don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you create 3 fields corresponding of the 3 colors, it works with the formula&amp;nbsp; RGB(&amp;nbsp; R , V , B) in background color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;color:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; R,V,B, city&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,110,100, Hamburg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 210,220,200, Rostock&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30,230,200, München&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40,40,100, Berlin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,50,200, Köln&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60,60,100, Leipzig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,100,200', New York&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312585#M115441</guid>
      <dc:creator />
      <dc:date>2011-11-10T21:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312586#M115442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you, this works perfectly. You were right, QV does not recognize the values rgb(1,1,1), but it works with 3 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all, the QV Community really is the best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312586#M115442</guid>
      <dc:creator />
      <dc:date>2011-11-10T21:40:34Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312587#M115443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have a similar problem, but in my case, I have a scatter chart and i need a diferente color by each field value. In another words:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this on my script&lt;/P&gt;&lt;P&gt;color:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; R,V,B, Firmware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 101,100,121, +31J2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 210,220,200, +31J8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30,230,200, 5.80C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40,40,100, 5.81C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,50,200, 5.83C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60,60,100, 5.83Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,100,200, 5.87C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,100,200, 5.92C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,100,200, 5.92T&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,100,200, 5.96E&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this configuration for expression (Delta is the value plotted in the scatter chart area). The persistent color is no checked.&lt;/P&gt;&lt;P&gt;﻿&lt;IMG alt="Chart Properties [Delta] - 2 linked objects_2012-04-11_18-06-11.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12898_Chart+Properties+%5BDelta%5D+-+2+linked+objects_2012-04-11_18-06-11.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;What can be wrong? anybody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 17:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312587#M115443</guid>
      <dc:creator />
      <dc:date>2012-04-11T17:20:31Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312588#M115444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Guiliano,&lt;/P&gt;&lt;P&gt;Your dimension should be Firmware.&amp;nbsp; The color expression should be on the dimension, not on the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;BR /&gt;PS: Advice - create new question rather than adding replies to the existing one if you want more users to read it.&amp;nbsp; Second, this thread is marked as "answered", even less chances someone reads it.&amp;nbsp; Third, your question is not even about pie chart...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 01:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312588#M115444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T01:30:57Z</dc:date>
    </item>
    <item>
      <title>Pie Chart - same color for value/field, also when order changes</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312589#M115445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Thanks for your answer, your suggestion was really useful, because part of my problem is solved.&lt;/P&gt;&lt;P&gt;I sorry for my mistake, I start a new thread for my situation. &lt;A _jive_internal="true" class="active_link" href="https://community.qlik.com/thread/51240"&gt;http://community.qlik.com/thread/51240&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Giuliano Caetano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-Chart-same-color-for-value-field-also-when-order-changes/m-p/312589#M115445</guid>
      <dc:creator />
      <dc:date>2012-04-12T15:31:04Z</dc:date>
    </item>
  </channel>
</rss>

