<?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 How do I colour certain sections on a line graph if dates are grouped by MonthStart? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-I-colour-certain-sections-on-a-line-graph-if-dates-are/m-p/1265563#M25904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built a line graph of Month Complaint Raised (X axis) against Number of Complaints (Y axis). The dimension for the graph is MonthStart([Date_Comp_Raised]) and the expression is count(Complaint_Number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to use an expression to colour certain date periods different colours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following expression: &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;if([Date_Comp_Raised] &amp;gt;= date(42234) and [Date_Comp_Raised] &amp;lt;= date(42447), rgb(96,162,80),black()).&lt;/STRONG&gt;&lt;/SPAN&gt; This works if the dates aren't grouped by 'MonthStart' but when they are the whole graph turns black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me colour different dates ranges still using MonthStart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:06:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2024-11-16T10:06:49Z</dc:date>
    <item>
      <title>How do I colour certain sections on a line graph if dates are grouped by MonthStart?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-colour-certain-sections-on-a-line-graph-if-dates-are/m-p/1265563#M25904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built a line graph of Month Complaint Raised (X axis) against Number of Complaints (Y axis). The dimension for the graph is MonthStart([Date_Comp_Raised]) and the expression is count(Complaint_Number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to use an expression to colour certain date periods different colours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following expression: &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;if([Date_Comp_Raised] &amp;gt;= date(42234) and [Date_Comp_Raised] &amp;lt;= date(42447), rgb(96,162,80),black()).&lt;/STRONG&gt;&lt;/SPAN&gt; This works if the dates aren't grouped by 'MonthStart' but when they are the whole graph turns black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me colour different dates ranges still using MonthStart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-colour-certain-sections-on-a-line-graph-if-dates-are/m-p/1265563#M25904</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:06:49Z</dc:date>
    </item>
  </channel>
</rss>

