<?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: 2 Different color in one line chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2098569#M89952</link>
    <description>&lt;P&gt;Hi, in line chart properties menu, under 'Appearance'-&amp;gt;'Colors and legend' choose color 'by expression' and describe condition for your needs, f.e. below is used expression, where 'period' is a date:&lt;BR /&gt;if(MonthEnd(period)&amp;lt;=MonthEnd(today()), LightRed(), Green())&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_1-1690786114903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/113224iEE318C716431257A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_1-1690786114903.png" alt="justISO_1-1690786114903.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 06:48:52 GMT</pubDate>
    <dc:creator>justISO</dc:creator>
    <dc:date>2023-07-31T06:48:52Z</dc:date>
    <item>
      <title>2 Different color in one line chart</title>
      <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2098181#M89926</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;We have prediction data.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I want to show in line chart&lt;BR /&gt;1. if month of January 2023 to current month(July 2023) data appear in one color&lt;BR /&gt;2. And remaining data for.e.g. Next month is august 2023 to Dec 2023 data should come in another color?&lt;/P&gt;
&lt;P&gt;kindly suggest.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 11:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2098181#M89926</guid>
      <dc:creator>Pooja_D</dc:creator>
      <dc:date>2023-07-28T11:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Different color in one line chart</title>
      <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2098569#M89952</link>
      <description>&lt;P&gt;Hi, in line chart properties menu, under 'Appearance'-&amp;gt;'Colors and legend' choose color 'by expression' and describe condition for your needs, f.e. below is used expression, where 'period' is a date:&lt;BR /&gt;if(MonthEnd(period)&amp;lt;=MonthEnd(today()), LightRed(), Green())&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_1-1690786114903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/113224iEE318C716431257A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_1-1690786114903.png" alt="justISO_1-1690786114903.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 06:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2098569#M89952</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2023-07-31T06:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Different color in one line chart</title>
      <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2102086#M90048</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/155226"&gt;@justISO&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reverting.&lt;/P&gt;
&lt;P&gt;It's working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2102086#M90048</guid>
      <dc:creator>Pooja_D</dc:creator>
      <dc:date>2023-08-03T12:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Different color in one line chart</title>
      <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2121203#M91292</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/155226"&gt;@justISO&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This solution helpful, if we have only one measure in the chart. If we have second measure in the chart and don't want the two colours for the second measure, how do we skip/exclude the second one from the colour expression.&lt;/P&gt;
&lt;P&gt;Please refer the below screenshot. The second line shouldn't be impacted.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gaddeonline_0-1695358591890.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116809i90F42C18CE1144C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gaddeonline_0-1695358591890.png" alt="gaddeonline_0-1695358591890.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;Mahesh Gadde&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 04:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2121203#M91292</guid>
      <dc:creator>gaddeonline</dc:creator>
      <dc:date>2023-09-22T04:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Different color in one line chart</title>
      <link>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2121221#M91294</link>
      <description>&lt;P&gt;In this case, use Combo chart, not Line chart. Add you dimension and 2 measures. Under each measure here are 'More properties' button and in here you must set both measures as Line and in Primary axis. Additionally, you can set color for each line, not for whole chart:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_0-1695363017306.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116811i8A8E03C0A39D334B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_0-1695363017306.png" alt="justISO_0-1695363017306.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 06:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/2-Different-color-in-one-line-chart/m-p/2121221#M91294</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2023-09-22T06:11:36Z</dc:date>
    </item>
  </channel>
</rss>

