<?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: draw reference lines in scatter charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84249#M13808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of the scenario from below:&lt;/P&gt;&lt;P&gt;1) Change the expression like:&lt;/P&gt;&lt;P&gt;linest_m(total aggr(if(sum(sales),sum(Sales)),OrderDate),OrderDate)*&amp;nbsp; &lt;/P&gt;&lt;P&gt;only({1}OrderDate)+linest_b(total aggr(if(sum(Sales),sum(Sales)),OrderDate),OrderDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression tab: select Linear option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Add 2 reference lines:&lt;/P&gt;&lt;P&gt;one for x-axis, select percentile - provide some value.&lt;/P&gt;&lt;P&gt;second for y-axis, select expression - provide some value.&lt;/P&gt;&lt;P&gt;Now check the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) One more expression:&lt;/P&gt;&lt;P&gt;You can add one more expression to your chart as a copy of the first, i.e. the x axis it will not be visible, but it is part of the solution. When you add a linear reference line to the new expression, it will be drawn as X = Y as that is its expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 16:16:40 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-06-27T16:16:40Z</dc:date>
    <item>
      <title>draw reference lines in scatter charts</title>
      <link>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84248#M13807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have following issue i can´t solve by my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a scatterchart with&lt;/P&gt;&lt;P&gt;dimensions: id --&amp;gt; so, every dot is a unique id&lt;/P&gt;&lt;P&gt;expression: mostrecent month (x-axis), revenue (y-axis),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206347_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;i was able to draw a trend line based on second expression "revenue". But this is a dynamic trendline, which changes with the set of selected values. (the line in the picture)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to achieve is a &lt;STRONG&gt;custom reference line&lt;/STRONG&gt; which is based on a linear equation and should not change with the selected values.&lt;/P&gt;&lt;P&gt;i already tried it in "Chart Properties" --&amp;gt; "Presentation" --&amp;gt; "Reference Lines", but i was only able to draw, horizontal or vertical lines but no diagonal lines or lines based on a linear equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that somebody can help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;regards steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 07:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84248#M13807</guid>
      <dc:creator>steffen_winkler</dc:creator>
      <dc:date>2018-06-27T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: draw reference lines in scatter charts</title>
      <link>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84249#M13808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of the scenario from below:&lt;/P&gt;&lt;P&gt;1) Change the expression like:&lt;/P&gt;&lt;P&gt;linest_m(total aggr(if(sum(sales),sum(Sales)),OrderDate),OrderDate)*&amp;nbsp; &lt;/P&gt;&lt;P&gt;only({1}OrderDate)+linest_b(total aggr(if(sum(Sales),sum(Sales)),OrderDate),OrderDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression tab: select Linear option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Add 2 reference lines:&lt;/P&gt;&lt;P&gt;one for x-axis, select percentile - provide some value.&lt;/P&gt;&lt;P&gt;second for y-axis, select expression - provide some value.&lt;/P&gt;&lt;P&gt;Now check the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) One more expression:&lt;/P&gt;&lt;P&gt;You can add one more expression to your chart as a copy of the first, i.e. the x axis it will not be visible, but it is part of the solution. When you add a linear reference line to the new expression, it will be drawn as X = Y as that is its expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 16:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84249#M13808</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-06-27T16:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: draw reference lines in scatter charts</title>
      <link>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84250#M13809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank your your suggestions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; i think that doesn`t work for me, since i still need to show the dots.&lt;/P&gt;&lt;P&gt;2) as i said, it´s only possible to draw, horizontal or vertical lines, but no diagonal or based on a linear equation&lt;/P&gt;&lt;P&gt;3) i think that could be my solution! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank you! There is just one more issue. the line should be constant, based on my expression. So if select some Ids the trendline should not change. How can i solve it, that the trendline doesn´t change by selecting filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/draw-reference-lines-in-scatter-charts/m-p/84250#M13809</guid>
      <dc:creator>steffen_winkler</dc:creator>
      <dc:date>2018-06-28T07:38:53Z</dc:date>
    </item>
  </channel>
</rss>

