<?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 Coloured Grid Chart modifying Luminosity parameter in HSL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734612#M1080525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to build a Grid Chart showing which &lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Product groups were sold, over a range of 3 years&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please consider the example in the attachment. What I need is a chart like the following:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61943" alt="GChart.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61943_GChart.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt; the colors of circles will be set using the function HSL (hue, saturation, luminosity) keeping fixed hue and saturation parameters, and modifying the Luminosity parameter. this will result in a "light" circle for small values, "dark" circles for higher values.&lt;/P&gt;&lt;P&gt;As the luminosity should be set up using a linear function, I found the needed one:&lt;/P&gt;&lt;P&gt;y=(170*x+600-230*MAX)/(10-MAX) where x represent the Sum(OrderValue) and MAX the biggest element in the grid chart.&lt;/P&gt;&lt;P&gt;x is the sum(OrderValue), MAX is the maximum value between all sum(OrderValue)&amp;nbsp; and y is the luminosity to be calculated,.&lt;/P&gt;&lt;P&gt;So, for Sum(ORDERVALUE)=10 we will have a luminosity=230, for the MAX we will have a luminosity=60 (darkest).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is how to calculate the &lt;STRONG&gt;MAX&lt;/STRONG&gt; parameter in this equation (because of my poor knowledge of aggregation functions!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to setup the calculus?&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand in a grid chart using a "scale color" on the circles is the only way to give an idea about the circle values.
In fact, a grid chart with variable-sized circles is not convenient when values differ too much.
Little values generate invisible circles in this case; I do not know other ways to change size of circles in a grid chart i.e using a formula.
Is that right?
Thanks for any indications&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2014 14:38:35 GMT</pubDate>
    <dc:creator>ebrambilla</dc:creator>
    <dc:date>2014-07-08T14:38:35Z</dc:date>
    <item>
      <title>Coloured Grid Chart modifying Luminosity parameter in HSL</title>
      <link>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734612#M1080525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to build a Grid Chart showing which &lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Product groups were sold, over a range of 3 years&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please consider the example in the attachment. What I need is a chart like the following:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61943" alt="GChart.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61943_GChart.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt; the colors of circles will be set using the function HSL (hue, saturation, luminosity) keeping fixed hue and saturation parameters, and modifying the Luminosity parameter. this will result in a "light" circle for small values, "dark" circles for higher values.&lt;/P&gt;&lt;P&gt;As the luminosity should be set up using a linear function, I found the needed one:&lt;/P&gt;&lt;P&gt;y=(170*x+600-230*MAX)/(10-MAX) where x represent the Sum(OrderValue) and MAX the biggest element in the grid chart.&lt;/P&gt;&lt;P&gt;x is the sum(OrderValue), MAX is the maximum value between all sum(OrderValue)&amp;nbsp; and y is the luminosity to be calculated,.&lt;/P&gt;&lt;P&gt;So, for Sum(ORDERVALUE)=10 we will have a luminosity=230, for the MAX we will have a luminosity=60 (darkest).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is how to calculate the &lt;STRONG&gt;MAX&lt;/STRONG&gt; parameter in this equation (because of my poor knowledge of aggregation functions!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to setup the calculus?&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand in a grid chart using a "scale color" on the circles is the only way to give an idea about the circle values.
In fact, a grid chart with variable-sized circles is not convenient when values differ too much.
Little values generate invisible circles in this case; I do not know other ways to change size of circles in a grid chart i.e using a formula.
Is that right?
Thanks for any indications&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734612#M1080525</guid>
      <dc:creator>ebrambilla</dc:creator>
      <dc:date>2014-07-08T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coloured Grid Chart modifying Luminosity parameter in HSL</title>
      <link>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734613#M1080526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MAX would be defined as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;max(TOTAL aggr(Sum(ORDERVALUE),ORDERYEAR,PGROUP))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for including a sample qvw. Makes it much easier to answer your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 22:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734613#M1080526</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-07-08T22:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Coloured Grid Chart modifying Luminosity parameter in HSL</title>
      <link>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734614#M1080527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rob for you precious help! I have to study better aggr()...! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;Here the qvd resulting, with two variations and a modification respect to my original thinking: I used rgb() instead of hsl()&lt;/P&gt;&lt;P&gt;&lt;IMG alt="01.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/62032_01.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 09:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734614#M1080527</guid>
      <dc:creator>ebrambilla</dc:creator>
      <dc:date>2014-07-09T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coloured Grid Chart modifying Luminosity parameter in HSL</title>
      <link>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734615#M1080528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks nice, Another approach I use is agrb() with a single color and just vary the "A" value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 18:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloured-Grid-Chart-modifying-Luminosity-parameter-in-HSL/m-p/734615#M1080528</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-07-09T18:27:53Z</dc:date>
    </item>
  </channel>
</rss>

