<?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: coloring lines in chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365495#M30730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide soma part of your app, so then i will help you.&lt;/P&gt;&lt;P&gt;Or you just can see how i make that already in this topic &lt;A href="https://community.qlik.com/thread/263491"&gt;How to color the monthly bar for each year diff color , for easy visulisation purpose.&lt;/A&gt; It must work same way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 11:42:27 GMT</pubDate>
    <dc:creator>Vasiliy_Beshentsev</dc:creator>
    <dc:date>2017-06-14T11:42:27Z</dc:date>
    <item>
      <title>coloring lines in chart</title>
      <link>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365494#M30729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that shows a count by month with overlapping years.&lt;/P&gt;&lt;P&gt;I've been asked to specify the line color by year.&lt;/P&gt;&lt;P&gt;2015 = blue&lt;/P&gt;&lt;P&gt;2016 = yellow&lt;/P&gt;&lt;P&gt;2017 = red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to color by dimension and by expression but I'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This color by expression gives me yellow for all lines:&lt;/P&gt;&lt;P&gt;if(Year(Date)='2015'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,blue()&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,if(Year(Date)='2016'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,yellow()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,red()&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;If I don't try and specify anything, and color by dimension using&amp;nbsp;&amp;nbsp; =Year(Date) then this is what the chart looks like. &lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166757_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could use a little help.&amp;nbsp; thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365494#M30729</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2024-11-16T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: coloring lines in chart</title>
      <link>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365495#M30730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide soma part of your app, so then i will help you.&lt;/P&gt;&lt;P&gt;Or you just can see how i make that already in this topic &lt;A href="https://community.qlik.com/thread/263491"&gt;How to color the monthly bar for each year diff color , for easy visulisation purpose.&lt;/A&gt; It must work same way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 11:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365495#M30730</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-14T11:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: coloring lines in chart</title>
      <link>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365496#M30731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this just about right... my problem was with taking a derivative of a field in the if statement.&lt;/P&gt;&lt;P&gt;I added Year(Date) as ydate&amp;nbsp; to the load script and got this working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ydate='2015' ,blue(),&lt;/P&gt;&lt;P&gt;if(ydate='2016' ,'#f0e68c','#ff0000'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 14:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365496#M30731</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-06-15T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: coloring lines in chart</title>
      <link>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365497#M30732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well good. Mark some post as helpful if you got yuor solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 14:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/coloring-lines-in-chart/m-p/1365497#M30732</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-15T14:19:33Z</dc:date>
    </item>
  </channel>
</rss>

