<?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: Problems with custom colouring a line chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033209#M15906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the lines show with the automatic coloring enabled?&lt;/P&gt;&lt;P&gt;Can you post an example qlik sense app that illustrates the problem? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2016 18:22:59 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-02-15T18:22:59Z</dc:date>
    <item>
      <title>Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033208#M15905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using a solution when custom colouring measures in a bar chart (see "How to set custom colors by measures in a bar chart"&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;) which was created by this guy called Ian Wilson. It's been working just fine. However, now I'm trying to do the same thing with a line chart, but it doesnät work. It's s if the expression seems too complex or something. Take a look.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;I have 2 dimensions;&lt;/STRONG&gt;&lt;/SPAN&gt; Month and Type. In the Type dimension I created a valueList to create temporary dimension and&lt;SPAN style="text-decoration: underline;"&gt; &lt;STRONG&gt;I wrote it like this&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;:&lt;/STRONG&gt; ValueList ('&lt;SPAN lang="en"&gt;Result', 'Revenue PY', 'Budget'&lt;/SPAN&gt;). &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #800080; text-decoration: underline;"&gt;MEASURE!&lt;/SPAN&gt; The measure I have is called Amount and the expression I wrote is:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;', 'Budget')='Result'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Sum({1&amp;lt;%Restaurang=P(%Restaurang), [RR Grupp]={'&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;'}, ÅrNum={'$(=Max(ÅrNum))'}, ÅrMånad={'&amp;lt;=$(=Max(ÅrMånad))'}&amp;gt;}Result)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;', 'Budget')='&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;' &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ,Sum({1&amp;lt;%Restaurang=P(%Restaurang), [RR Grupp]={'&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;'}, ÅrNum={'$(=Max(ÅrNum))'}, ÅrMånad={'&amp;lt;=$(=Max(ÅrMånad))'}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ,Sum({1&amp;lt;%Restaurang=P(%Restaurang), [RR Grupp]={'&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;'}, ÅrNum={'$(=Max(ÅrNum))'}&amp;gt;}Budget)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;In the appearance section i went to the coloring section and wrote the following expression:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ValueList('Result','Revenue PY','Budget')='Result'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,rgb(0,192,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;','Budget')='&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,rgb(0,0,192)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,rgb(192,0,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The colors only appear when the measure expressions aren't that complex.&lt;SPAN style="text-decoration: underline;"&gt; If I would've written this instead it works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;', 'Budget')='Result'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ,Sum(Result)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ,if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;', 'Budget')='&lt;SPAN style="font-size: 13.3333px;"&gt;Revenue PY&lt;/SPAN&gt;' &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ,Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Result&lt;/SPAN&gt;) &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ,Sum(Budget)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Can someone help me understand how to make Ian Wilsons trick work on this? How can I make it work with my expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033208#M15905</guid>
      <dc:creator />
      <dc:date>2016-02-15T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033209#M15906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the lines show with the automatic coloring enabled?&lt;/P&gt;&lt;P&gt;Can you post an example qlik sense app that illustrates the problem? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 18:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033209#M15906</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-15T18:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033210#M15907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, so I managed to kind of change the colours on the line chart, but I'm not fully satisfied. This is what the Line Chart looks like when it's with standard colours:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Line Chart standard Colour.PNG" class="jive-image image-1" src="/legacyfs/online/114755_Line Chart standard Colour.PNG" style="height: 134px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;And this is what it looks with my customized colour:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Line Chart Custom Colour.PNG" class="jive-image image-2" src="/legacyfs/online/114756_Line Chart Custom Colour.PNG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, only the lines get the colours. I can live with that, but what's strange is that if I choose a month, all the other months look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Line Chart Chosen Month.PNG" class="jive-image image-3" src="/legacyfs/online/114757_Line Chart Chosen Month.PNG" style="height: 152px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other months and their lines get the same value as the "result" amount, which is weird. I've looked through the expressions, but they look fine. Is this something that sometimes can happen when trying to customize colours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 07:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033210#M15907</guid>
      <dc:creator />
      <dc:date>2016-02-16T07:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033211#M15908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, I fixed the last problem (see the 3d picture). Maybe I shouldn't be that quick in writing, haha! The problem was in fact in the expression. There was somehthing missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there seems to be no way in colouring inbetween the lines. It looks quite boring with only coloured lines =/ Do you know if there is a way to achieve this? Maybe I've missed something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033211#M15908</guid>
      <dc:creator />
      <dc:date>2016-02-16T08:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033212#M15909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Betty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the thread below shows, this issue will be fixed in the next release.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/910538"&gt;Custom color in area chart&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033212#M15909</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-02-16T08:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with custom colouring a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033213#M15910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thank you! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problems-with-custom-colouring-a-line-chart/m-p/1033213#M15910</guid>
      <dc:creator />
      <dc:date>2016-02-16T08:28:59Z</dc:date>
    </item>
  </channel>
</rss>

