<?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: Red sections on charts coloured via expression? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/1526303#M37829</link>
    <description>&lt;P&gt;It appears the issue is related to overlapping / absent data points on the chart.&lt;/P&gt;&lt;P&gt;Best explained with an image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three dates recorded for the 'Master' dimension&amp;nbsp; ( Grey ) and only Two for the Other&amp;nbsp;dimension ( Brown )&lt;/P&gt;&lt;P&gt;Where the chart is being stacked, and no data-point exists for that stacking point, Qliksense doesn't perform interpolation on the colour measure,&amp;nbsp;and instead paints the gap as Red.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution for this ( unless the latest version comes out with&amp;nbsp;interpolation for the colours by&amp;nbsp;expressions?&amp;nbsp; )&amp;nbsp; - is to normalise your data for these kind of charts upon load.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would mean filling any gaps in data ( like the one featured below ) so the Qliksense chart doesn't have to interpret/interpolate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RED_LINE_CHART_RGB.png" style="width: 753px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3034iA993E528C6AE9200/image-size/large?v=v2&amp;amp;px=999" role="button" title="RED_LINE_CHART_RGB.png" alt="RED_LINE_CHART_RGB.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where all data points exist for a particular&amp;nbsp;range, the issue is not manifest.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="red_note.png" style="width: 557px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3035iC16C382452D4E80D/image-size/large?v=v2&amp;amp;px=999" role="button" title="red_note.png" alt="red_note.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 11:37:01 GMT</pubDate>
    <dc:creator>johnnymartinez</dc:creator>
    <dc:date>2019-01-04T11:37:01Z</dc:date>
    <item>
      <title>Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90995#M6064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find anything relating to this, other than people not realising null content gets rendered grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I double checked the item count for the chart, to ensure it's not a limitation of the data being brought in, it's below 10k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else experienced this issue? I'm basically charting on two dimensions , where the colour is rendered as an average of the colours by dimension.&amp;nbsp; For some reason, where there are gaps, they're rendering bright red, making the chart unreadable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They disappear when you zoom into a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I round up the data points from hourly or am/pm maybe, or to the nearest half-hour? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date/time is based of a standard timestamp format ( 'YYYY-MM-DD HH:MM:SS.000' ) if that helps.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="217082" alt="servers.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217082_servers.png" style="height: 319px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here it is zoomed :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="217083" alt="servers_zoomed.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/217083_servers_zoomed.png" style="height: 292px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a final thought, it DOES colour correctly when NOT stacked. The error only comes when 'Stacked' is applied. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90995#M6064</guid>
      <dc:creator>johnnymartinez</dc:creator>
      <dc:date>2024-11-16T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90996#M6065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 14:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90996#M6065</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-10-30T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90997#M6066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have attached a QVF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90997#M6066</guid>
      <dc:creator>johnnymartinez</dc:creator>
      <dc:date>2018-10-30T15:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90998#M6067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to have red, blue &amp;amp; green color in your chart?&lt;/P&gt;&lt;P&gt;You expression for color coding is different to your actual expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what colors you'd like to see in those lines?&lt;/P&gt;&lt;P&gt;Ex: it should be red if less than 0 and green for greater than 0?&lt;/P&gt;&lt;P&gt;You can simply do color by dimension and use DB_NAME as dimension or Reported time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 17:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90998#M6067</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-10-30T17:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90999#M6068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's colouring by Database name and the 'latest/historical' flag dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGB&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;AVG(IF(SQ_AGE_FLAG='LATEST',1,0.5) *0.75*DB_R)+50,&lt;/P&gt;&lt;P&gt;AVG(IF(SQ_AGE_FLAG='LATEST',1,0.5) *0.75*DB_G)+50,&lt;/P&gt;&lt;P&gt;AVG(IF(SQ_AGE_FLAG='LATEST',1,0.5) *0.75*DB_B)+50&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart darkens the colour for the 'historical;' age bracket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just don't understand why it'd turn red, other than QlikSense applying the shade to flag an error with the data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 17:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/90999#M6068</guid>
      <dc:creator>johnnymartinez</dc:creator>
      <dc:date>2018-10-30T17:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/91000#M6069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually we type in rgb(128,128,18) or red() for color coding with combination of if conditions&lt;/P&gt;&lt;P&gt;here you are giving RGB (Red, Green Blue) maybe thats why it is returning red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use Red(), green() or blue() or use numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 17:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/91000#M6069</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-10-30T17:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/91001#M6070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They're variables creating a conditional average , and you can see it working for 80% of the graph. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 07:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/91001#M6070</guid>
      <dc:creator>johnnymartinez</dc:creator>
      <dc:date>2018-10-31T07:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Red sections on charts coloured via expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/1526303#M37829</link>
      <description>&lt;P&gt;It appears the issue is related to overlapping / absent data points on the chart.&lt;/P&gt;&lt;P&gt;Best explained with an image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three dates recorded for the 'Master' dimension&amp;nbsp; ( Grey ) and only Two for the Other&amp;nbsp;dimension ( Brown )&lt;/P&gt;&lt;P&gt;Where the chart is being stacked, and no data-point exists for that stacking point, Qliksense doesn't perform interpolation on the colour measure,&amp;nbsp;and instead paints the gap as Red.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution for this ( unless the latest version comes out with&amp;nbsp;interpolation for the colours by&amp;nbsp;expressions?&amp;nbsp; )&amp;nbsp; - is to normalise your data for these kind of charts upon load.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would mean filling any gaps in data ( like the one featured below ) so the Qliksense chart doesn't have to interpret/interpolate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RED_LINE_CHART_RGB.png" style="width: 753px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3034iA993E528C6AE9200/image-size/large?v=v2&amp;amp;px=999" role="button" title="RED_LINE_CHART_RGB.png" alt="RED_LINE_CHART_RGB.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where all data points exist for a particular&amp;nbsp;range, the issue is not manifest.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="red_note.png" style="width: 557px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3035iC16C382452D4E80D/image-size/large?v=v2&amp;amp;px=999" role="button" title="red_note.png" alt="red_note.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 11:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Red-sections-on-charts-coloured-via-expression/m-p/1526303#M37829</guid>
      <dc:creator>johnnymartinez</dc:creator>
      <dc:date>2019-01-04T11:37:01Z</dc:date>
    </item>
  </channel>
</rss>

