<?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: Font Color in Chart based on value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522869#M438165</link>
    <description>Like what you said, in my first answer, I 'm sure that the bar chart can change the text color like what you request.&lt;BR /&gt;But for pie chart, to be honest, I don't know how to change the number color, because I tried it in my desktop, I can't only change the number color, I think it may be a limitation in qlikview.&lt;BR /&gt;Or there is a method can do that but I don't know.&lt;BR /&gt;Anyway, I have a method to do that, but I think it's not a good way to do that. You can create a table next to your pie chart. So it's a fake "legend".&lt;BR /&gt;Aiolos</description>
    <pubDate>Thu, 20 Dec 2018 08:48:09 GMT</pubDate>
    <dc:creator>uacg0009</dc:creator>
    <dc:date>2018-12-20T08:48:09Z</dc:date>
    <item>
      <title>Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522355#M437627</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 2 charts which I need to change the&amp;nbsp;value colors, first is a pie chart which shows top 4 values, top value should be&amp;nbsp;RGB(0,186,255), second value&amp;nbsp;RGB(90,90,90), third value&amp;nbsp;rgb(150,150,150), fourth value rgb(190,190,190). I'm able to change the color of the slices&amp;nbsp;on the "Colors" tab but I also want to change the colors of the values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second chart is a bar chart, first&amp;nbsp;value should be&amp;nbsp;&lt;SPAN&gt;RGB(0,186,255), next 4&amp;nbsp;values should be&amp;nbsp;RGB(90,90,90), and everything else should be&amp;nbsp;rgb(150,150,150).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I attached screenshots of the 2 charts and highligted the part that I want the color to match the bar/slice color. I feel like this is feasible on the "Text Color" of the expressions I just don't know what code to apply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 01:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522355#M437627</guid>
      <dc:creator>roebrich</dc:creator>
      <dc:date>2018-12-19T01:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522359#M437629</link>
      <description>Hi Roebrich,&lt;BR /&gt;For the bar chart, I can tell you where you can change the color.&lt;BR /&gt;In the "Expressions" tab, next to your expression, there is a "+" button, click it.&lt;BR /&gt;Then you can write your logic into the "Text Color".&lt;BR /&gt;Like if(Year = 2017,RGB(....),RGB(...))&lt;BR /&gt;For pie chart, I'm trying it, but I'm not sure whether it can be done.&lt;BR /&gt;Aiolos</description>
      <pubDate>Wed, 19 Dec 2018 02:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522359#M437629</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2018-12-19T02:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522390#M437631</link>
      <description>&lt;P&gt;Hey, I am San&lt;/P&gt;&lt;P&gt;Let me know, If this helps you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this video for your pie chart:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.microsoft.com/en-us/videoplayer/embed/RWfbX3?pid=ocpVideo0-innerdiv-oneplayer&amp;amp;postJsllMsg=true&amp;amp;maskLevel=20&amp;amp;market=en-us" target="_blank"&gt;https://www.microsoft.com/en-us/videoplayer/embed/RWfbX3?pid=ocpVideo0-innerdiv-oneplayer&amp;amp;postJsllMsg=true&amp;amp;maskLevel=20&amp;amp;market=en-us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;A href="https://vidmate.ooo/" target="_blank"&gt;vidmate&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 12:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522390#M437631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-19T12:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522425#M437638</link>
      <description>&lt;P&gt;Hi, yes I'm aware that we can put the logic there. And the logic that needs to&amp;nbsp;be applied for the pie chart is first value&amp;nbsp;&lt;SPAN&gt;RGB(0,186,255), second value&amp;nbsp;RGB(90,90,90), third value&amp;nbsp;rgb(150,150,150), fourth value rgb(190,190,190), the pie chart is limited to 4 highest value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the bar chart,&amp;nbsp;&amp;nbsp;first&amp;nbsp;value should be&amp;nbsp;RGB(0,186,255), next 4&amp;nbsp;values should be&amp;nbsp;RGB(90,90,90), and everything else should be&amp;nbsp;rgb(150,150,150). It is sorted from highest value to lowest value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm asking for help with regards to how to code that logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 07:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522425#M437638</guid>
      <dc:creator>roebrich</dc:creator>
      <dc:date>2018-12-19T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522452#M437640</link>
      <description>Hi,&lt;BR /&gt;Sorry for the misunderstanding.&lt;BR /&gt;I think you can use rank() function. Because I don't know your expression, so I try it in my sample,like:&lt;BR /&gt;Pick(Match(Rank(Sum(Value),1,1),1,2,3,4),&lt;BR /&gt;RGB(0,186,255),&lt;BR /&gt;RGB(90,90,90),&lt;BR /&gt;rgb(150,150,150),&lt;BR /&gt;rgb(190,190,190))&lt;BR /&gt;&lt;BR /&gt;For the bar chart, you can use the same method to solve that I think.&lt;BR /&gt;Aiolos</description>
      <pubDate>Wed, 19 Dec 2018 08:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522452#M437640</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2018-12-19T08:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522849#M438162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your help, the rank function really did the trick. However, it only works for the bar chart in the expressions' text color. For the pie chart, it doesn't work because the numbers being shown are based on the legend not the "values on data point." If I apply the same logic on the legend font color, it only takes the first color and applies the color to both the number and text. I only want it for the number.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 07:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522849#M438162</guid>
      <dc:creator>roebrich</dc:creator>
      <dc:date>2018-12-20T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Font Color in Chart based on value</title>
      <link>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522869#M438165</link>
      <description>Like what you said, in my first answer, I 'm sure that the bar chart can change the text color like what you request.&lt;BR /&gt;But for pie chart, to be honest, I don't know how to change the number color, because I tried it in my desktop, I can't only change the number color, I think it may be a limitation in qlikview.&lt;BR /&gt;Or there is a method can do that but I don't know.&lt;BR /&gt;Anyway, I have a method to do that, but I think it's not a good way to do that. You can create a table next to your pie chart. So it's a fake "legend".&lt;BR /&gt;Aiolos</description>
      <pubDate>Thu, 20 Dec 2018 08:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Font-Color-in-Chart-based-on-value/m-p/1522869#M438165</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2018-12-20T08:48:09Z</dc:date>
    </item>
  </channel>
</rss>

