<?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 can I cycle through my data points to see which ones are selected by my lasso? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-can-I-cycle-through-my-data-points-to-see-which-ones-are/m-p/2088006#M89183</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a lasso example on a picasso.js scatter plot at this JSFiddle:&amp;nbsp;&lt;A href="https://jsfiddle.net/3sbvwpxa/" target="_blank"&gt;https://jsfiddle.net/3sbvwpxa/&lt;/A&gt;. You can try it out by drawing a lasso around any set of points you want.&lt;/P&gt;
&lt;P&gt;Once the lasso is complete (user releases mouse button), I need to be go through all the data points and figure out which ones are in the lasso. This means I need to:&lt;/P&gt;
&lt;P&gt;1) iterate through each data point.&lt;/P&gt;
&lt;P&gt;2) run each point through a function/algorithm that figures out if its inside the lasso or not.&lt;/P&gt;
&lt;P&gt;I need help with both of these. How do I get access to my data points? And does anyone know a good algorithm for determining if points are within a lasso region?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 22:23:06 GMT</pubDate>
    <dc:creator>gibran-shah</dc:creator>
    <dc:date>2023-06-26T22:23:06Z</dc:date>
    <item>
      <title>How can I cycle through my data points to see which ones are selected by my lasso?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-cycle-through-my-data-points-to-see-which-ones-are/m-p/2088006#M89183</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a lasso example on a picasso.js scatter plot at this JSFiddle:&amp;nbsp;&lt;A href="https://jsfiddle.net/3sbvwpxa/" target="_blank"&gt;https://jsfiddle.net/3sbvwpxa/&lt;/A&gt;. You can try it out by drawing a lasso around any set of points you want.&lt;/P&gt;
&lt;P&gt;Once the lasso is complete (user releases mouse button), I need to be go through all the data points and figure out which ones are in the lasso. This means I need to:&lt;/P&gt;
&lt;P&gt;1) iterate through each data point.&lt;/P&gt;
&lt;P&gt;2) run each point through a function/algorithm that figures out if its inside the lasso or not.&lt;/P&gt;
&lt;P&gt;I need help with both of these. How do I get access to my data points? And does anyone know a good algorithm for determining if points are within a lasso region?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 22:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-cycle-through-my-data-points-to-see-which-ones-are/m-p/2088006#M89183</guid>
      <dc:creator>gibran-shah</dc:creator>
      <dc:date>2023-06-26T22:23:06Z</dc:date>
    </item>
  </channel>
</rss>

