<?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: Why the legend is gray ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975550#M333509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you couldn't display your chart in this way then you used two dimensions and two expressions within a line-chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A solution might be to use only one dimension and many expressions - one for each product and maybe further conditions like visibility. Common in use by various chart display-problems is to use two or more objects which overlap each other but I would rather prefer to use the line-chart in trellis-mode:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105881_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;And however I wouldn't use NULL as else-part - to define own default-values for this is helpful in many things especially to find errors or unexpected results.&lt;/P&gt;&lt;P&gt;By your coloring might be also an opposite approach useful that all lines (or maybe bars) are generell unique (maybe in grey) and only those which are selected (or other conditions) will be highlighted through another coloring. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 11:53:05 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-11-18T11:53:05Z</dc:date>
    <item>
      <title>Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975541#M333500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Greetings!&lt;BR /&gt;This is my problem: I have a Combo Chart with quite a few expressions and dimensions. I have been using the regular color palette, however just recently I wanted to set constants colors for some of dimensions - let's say customers. Therefore I created an expression to pick RGB values for my data - and this actually worked as I wanted. What bothers me is the fact that my chart by default is being displayed with more than one expression and on this level I'm not coloring the lines by the expressions&amp;nbsp; the thing is that even though the chart lines are using the default color palette - the legend is not handling this&lt;IMG __jive_id="103221" alt="GreyLegend.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103221_GreyLegend.PNG" style="width: 620px; height: 199px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked that once I input in Background property of the expression any value that cannot be evaluated to valid color ( a space is best example) legend is not handling this properly, whereas the line itself picks the first color from the palette.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas / suggestions ? I have searched the community&amp;nbsp; but I could not find anything similar ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for our help&lt;/P&gt;&lt;P&gt;Bartek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 19:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975541#M333500</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-10-27T19:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975542#M333501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the way to go here is to always return a valid color code when using the attribute expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does your color expression look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 21:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975542#M333501</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-27T21:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975543#M333502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, first of all let me give you some more details...&lt;/P&gt;&lt;P&gt;I use few data islands&lt;/P&gt;&lt;P&gt;- one : to give user an option to chose which metric(s) (e.g. Sell In Qty or Sell Out Qty as per the enclosed screen) should be displayed (if only one - as mentioned earlier by default few are being displayed); if one metric is selected then it enables more options (another data island becomes available) to split by Dimensions&lt;/P&gt;&lt;P&gt;- two: to give user possibility to split single metric by [Product]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;therefore my expression is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 'Customer' &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimCustomers.G_RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;3&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimCustomers.G_RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|',1)&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimCustomers.G_RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|',2)&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimCustomers.G_RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|',3)&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and still I'm quite happy about how the expression works, though in my opinion it is rather some issue related to how the legend object maintains or refers to the default color palette - I'm expecting that the legend should display my default color #1 and #2 - the same way chart's lines were colored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that if the Background property of the expression is used the legend object simply does not care about the default coloring whereas at the same time the expression itself is being colored from the palette. hope you are getting my point... ! !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975543#M333502</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-10-28T07:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975544#M333503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think those expression won't return a valid result and it seems qv behaves differently for the different color-parts of the chart (the reason might be the different priority which the different possiblities to customize colors have). I believe this will be helpful for you: &lt;A href="https://community.qlik.com/qlik-blogpost/2831"&gt;Colors in charts&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975544#M333503</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-28T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975545#M333504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Marcus, thanks for sharing your opinion and the link - actually I do exactly what is there described by HIC. For some reason I have the RGB in a single column with "|" as a delimiter and that is why I use the SubField function. &lt;/P&gt;&lt;P&gt;Anyway - I do agree that in some cases the expression will not return valid result - color, though I'm still curious why the chart line is able to get the color but the legend cannot. &lt;/P&gt;&lt;P&gt;I have also double checked that it this area Qlik behaves very odd, namely :&lt;/P&gt;&lt;P&gt; - I have checked that my RGB definition does not cover all the "Customers", however when I Select single expression and split by "Customers" then the expression evaluates to True which means the lines are colored as I wanted. As mentioned though for some of the customers the RBG definition is not in the column therefore this part of the expression &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimCustomers.G_RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;3&lt;/SPAN&gt; returns False - so it goes to else part =&amp;gt; null() which is again rather bad color definition - but surprise ... in this case Qlik is able to handle the colors from the palette&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="screen.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103394_screen.PNG" style="width: 620px; height: 184px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you say ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 20:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975545#M333504</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-10-28T20:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975546#M333505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see there a real contradiction - for the chart itself it will ignore any failure within the color-expressions and return instead the colors from color-palette and by other parts like the legend (which will be differently evaluated because it's a TOTAL calculation against the x-axis) the default behaviour by errors is to grey it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact this could be quite useful to detect any errors within the expression respectively that the to fetching data are different to them what you expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case I suggest to use always an else-part within these expressions with a quite noticable color, maybe a bright pink or similar - then I think you want see errors instead of cover them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 05:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975546#M333505</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T05:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975547#M333506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might be due to the legend setting .&lt;/P&gt;&lt;P&gt;Go to Chart properties&amp;gt;Presentation&amp;gt;legend Setting&amp;gt;make the background as transparent&lt;IMG alt="C.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103414_C.png" style="height: auto;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 06:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975547#M333506</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-10-29T06:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975548#M333507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash&lt;/P&gt;&lt;P&gt;Sorry I was not reffering to the background of the legend -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;P&gt;BI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975548#M333507</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-11-18T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975549#M333508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It's been a while, though I was busy with some other Qlik related duties... now coming back to the problem... meanwhile I have created a simple app which describes the problem clearly.&lt;/P&gt;&lt;P&gt;It would be rather not possible to have a list of RGB for each an every customer. Also I cannot provide a valid color in the else part, because if is split by time &amp;amp; customer for those with no RGB it will always use the same color - which does not make much sense; Moreover I want to color my lines only when Customer come into picture, so if I display the chart on higher level I want to get the colors definition from the palette. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any other suggestions / hints &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Best Regards&lt;/P&gt;&lt;P&gt;BI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975549#M333508</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-11-18T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975550#M333509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you couldn't display your chart in this way then you used two dimensions and two expressions within a line-chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A solution might be to use only one dimension and many expressions - one for each product and maybe further conditions like visibility. Common in use by various chart display-problems is to use two or more objects which overlap each other but I would rather prefer to use the line-chart in trellis-mode:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105881_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;And however I wouldn't use NULL as else-part - to define own default-values for this is helpful in many things especially to find errors or unexpected results.&lt;/P&gt;&lt;P&gt;By your coloring might be also an opposite approach useful that all lines (or maybe bars) are generell unique (maybe in grey) and only those which are selected (or other conditions) will be highlighted through another coloring. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 11:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975550#M333509</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-11-18T11:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975551#M333510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I fully understand what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just explicitely set the color in the default path to the Expression # palette color?`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (vProduct = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(Product = 'A'&lt;/P&gt;&lt;P&gt;&amp;nbsp; , black()&lt;/P&gt;&lt;P&gt;&amp;nbsp; , if(Product = 'B'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,green()&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,null()&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, Color(1)&lt;/STRONG&gt; // resp. Color(2) for the second expression&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 12:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975551#M333510</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-18T12:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975552#M333511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;@ swuehl&lt;/STRONG&gt; - I have already thought about this way of doing that, however in real case there are around 7 expressions and what is more I have separate charts for Daily / Weekly / monthly and Quarterly views - so in total it would require a lot of changes - but still this is one of the option I still consider to implement. I still hope there is a way to accomplish this in more generic way, rather than having different expressions for coloring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@Marcus&lt;/STRONG&gt; - I reckon again there is a misunderstanding - for 2 expressions (or more) and Time as dimension (only one) I want the legend colors to be consistent with the lines colors, having also the possibility to color the lines the way i want (RGB definition for SOME of the customers / products). I know that for chart with multi lines when I have Time and Product / Customer as a dimension with a single expression works perfectly&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105889_1.PNG" style="line-height: 1.5em; font-size: 13.3333px; height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;whereas multi line for &amp;gt;1 expression + Time as dimension - does not.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105896_2.PNG" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975552#M333511</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-11-18T13:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975553#M333512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think more it's a feature from the line-chart that if you used two dimensions and two expressions that only the color-defaults from chart will be applied. But if the suggestion from &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt; worked then you might to get things easier if you used a dimension-group for your various period-dimensions and maybe something like color(rowno()) to avoid hard-coding of colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975553#M333512</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-11-18T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why the legend is gray ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975554#M333513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;We had a call with Qlik Support and it was confirmed as a BUG, waiting to be confirmed by Qlik R&amp;amp;D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bartek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-the-legend-is-gray/m-p/975554#M333513</guid>
      <dc:creator>bizdebski</dc:creator>
      <dc:date>2015-12-02T10:50:56Z</dc:date>
    </item>
  </channel>
</rss>

