<?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 Free Lines/Angles in a Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143313#M22572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;those lines are vertical or horizontal, not stantwise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2009 02:19:14 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2009-05-05T02:19:14Z</dc:date>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143310#M22569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any possibility to add free lines or angles into a line chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 01:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143310#M22569</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T01:58:38Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143311#M22570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Waht about using Refernce Lines?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 02:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143311#M22570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-05T02:02:11Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143312#M22571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Or an extra table of data corresponding to the lines or angles you want displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 02:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143312#M22571</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T02:17:12Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143313#M22572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;those lines are vertical or horizontal, not stantwise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 02:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143313#M22572</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T02:19:14Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143314#M22573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example of my suggestion with slanted "reference lines" is attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 02:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143314#M22573</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T02:45:33Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143315#M22574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;BR /&gt;Your solution works without these extra fields Target and Min. YOu can simply use expressions like&lt;BR /&gt;A*Month + B&lt;BR /&gt;where A and B are constants. For example:&lt;BR /&gt;1.5*Month + 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 02:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143315#M22574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-05T02:55:16Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143316#M22575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, yeah. I guess I'm used to using "reference lines" that are loaded from a database, or otherwise have specific values not based on a formula. A table is silly overkill for something as simple as a slanted line. Bad suggestion on my part.&lt;/P&gt;&lt;P&gt;(edit: Example corrected to show Target "loaded from a database" and Min based on a formula.)&lt;/P&gt;&lt;P&gt;(edit: Example further corrected with Type field on main table. Demonstrates why main table isn't merged with the reference line table.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 03:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143316#M22575</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T03:01:46Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143317#M22576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;thanks, this is an interesting approach but I'm looking for something like from(x,y) to(x,y) or from(x,y,degree) .&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 03:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143317#M22576</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T03:38:34Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143318#M22577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your two examples are just ways of specifying a line. So is the example I gave. You just need to do a little math to put your linear equations in slope intercept form, which is a form that QlikView understands: y = slope * x + value where line intercepts y axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From(x = 1, y = 5, degree = 45)&lt;/P&gt;&lt;P&gt;Then you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 0.5 * x + 4.5&lt;/P&gt;&lt;P&gt;If you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From(x = 10, y = 20) to (x = 20, y = 40)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 2 * x + 0&lt;/P&gt;&lt;P&gt;If you don't want lines, and just want line segments, then you'll probably need to additionally set the value to null outside of the range you want, and suppress nulls.&lt;/P&gt;&lt;P&gt;(edit: My terminology may not be exactly correct. I can do the math, but math terminology always eludes me.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 03:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143318#M22577</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T03:59:17Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143319#M22578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I adapted your 45 degree formula to your example and you can see it's not 45 degree &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; And, how to start at month 3?&lt;/P&gt;&lt;P&gt;So, this is a more complex question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 04:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143319#M22578</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T04:34:51Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143320#M22579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, yes, y = 0.5 * X + 4.5 is 22.5 degrees. (edit: Gah! It's about 26.565 degrees. I'm totally failing at math today.) From(x = 1, y = 5, degree = 45) is = x + 4. My bad at messing up a simple algebraic transformation, but the principle still holds - all it takes is simple algebra. Now, if you go plug = x + 4 into the graph, you'll STILL notice that it isn't 45 degrees, but that's because the SCALES are different. If the scales were the same, it would be 45 degrees.&lt;/P&gt;&lt;P&gt;As for starting only at month 3, the answer to that is my previous suggestion: " If you don't want lines, and just want line segments, then you'll probably need to additionally set the value to null outside of the range you want, and suppress nulls."&lt;/P&gt;&lt;P&gt;So here's the example again. This time, I'm using the formula = x + 4, I've made the two scales match (same length vertically from 0 to 6 as horizontally from 0 to 6), and I've set the value to null outside the range you want, and I've suppressed 0 values. You now have a 45 degree line that starts at 3,7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 07:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143320#M22579</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Free Lines/Angles in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143321#M22580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;thanks for help! This is a simple example but I can start from here. I like your approach with the &lt;B&gt;if&lt;/B&gt;-formula (qvw attachment). This is a very good solution for line segments! More flexible than another set of values you suggested in your last two posts.&lt;/P&gt;&lt;P&gt;Cheers, Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 14:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Free-Lines-Angles-in-a-Line-Chart/m-p/143321#M22580</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T14:04:04Z</dc:date>
    </item>
  </channel>
</rss>

