<?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: Linnear regression in scatter plot in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934671#M65825</link>
    <description>&lt;HTML&gt;
 &lt;HEAD&gt;
 &lt;/HEAD&gt;&lt;BODY&gt;
  &lt;DIV&gt;
   &lt;DIV&gt;
    Nothing ready right now but I can check after my vacation.
   &lt;/DIV&gt;
   &lt;BR /&gt;
  &lt;/DIV&gt;
 
&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2024 11:06:17 GMT</pubDate>
    <dc:creator>Rocko</dc:creator>
    <dc:date>2024-03-05T11:06:17Z</dc:date>
    <item>
      <title>Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934341#M65797</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering if there is any way of "showing" linnear regression in a chart line?&lt;/P&gt;
&lt;P&gt;I can only find the "HideLines" property on the line chart (scatter plot type) widget.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example using the g2plot library for further explanation:&amp;nbsp; &lt;A href="https://g2plot.antv.antgroup.com/en/examples/scatter/scatter/#line" target="_blank" rel="noopener"&gt;https://g2plot.antv.antgroup.com/en/examples/scatter/scatter/#line&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jens C&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 12:47:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934341#M65797</guid>
      <dc:creator>jensc</dc:creator>
      <dc:date>2024-03-04T12:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934361#M65800</link>
      <description>&lt;P&gt;Hi Jens, is the goal to show the points &lt;EM&gt;and&lt;/EM&gt; the regression line in one chart?&lt;/P&gt;
&lt;P&gt;Then you would have to use the &lt;A href="https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/ComboChartWidgetThemable.html#" target="_blank" rel="noopener"&gt;Combo Chart&lt;/A&gt;, if your version already has it. The Line chart widget can only show splines.&lt;/P&gt;
&lt;P&gt;In the combo chart, you would have to provide the data for the regression line as well as the chart won't compute this on its own.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:07:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934361#M65800</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2024-03-04T13:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934367#M65801</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/244971"&gt;@Rocko&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, essentially I think that is what we would like.&lt;BR /&gt;Like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jensc_0-1709557847716.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/99469i430A4EDE5A8F8C06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jensc_0-1709557847716.png" alt="jensc_0-1709557847716.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I did have a look in the Combo Chart documentation you linked, and the screenshot there doesn't exactly look like what we'd like. But perhaps we can work with it.&lt;BR /&gt;However, my 9.3.8 platform does not seem to include this widget... Is it something additional we need to install?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jens C.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:13:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934367#M65801</guid>
      <dc:creator>jensc</dc:creator>
      <dc:date>2024-03-04T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934369#M65802</link>
      <description>&lt;P&gt;I'm afraid it's a feature of TWX 9.4+ only...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:16:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934369#M65802</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2024-03-04T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934370#M65803</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/244971"&gt;@Rocko&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Ah okay, then I'll have to try it out on our 9.5 servers.&lt;BR /&gt;I'll get to testing it and get back if it is what I was looking for!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jens C.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:18:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934370#M65803</guid>
      <dc:creator>jensc</dc:creator>
      <dc:date>2024-03-04T13:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934644#M65823</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/244971"&gt;@Rocko&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I managed to get ahold of a 9.5 platform to try the Combo Chart.&lt;/P&gt;
&lt;P&gt;However, I haven't really been able to create a chart similar to this one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jensc_0-1709631668964.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/99547iA1B0D41BB45BC2F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jensc_0-1709631668964.png" alt="jensc_0-1709631668964.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I do realize that there is no "Scatter" chart type for the Combo Chart.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I tried it using the following service just as a quick test:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;result = DataShapes["ScatterPlot"].CreateValues();

const data = [
  { regression: -2.2114, X: 1, Y: 4.181 },
  { regression: -1.7274, X: 2, Y: 4.665 },
  { regression: -1.0964, X: 3, Y: 5.296 },
  { regression: -1.0274, X: 4, Y: 5.365 },
  { regression: -0.9444, X: 5, Y: 5.448 },
  { regression: -0.6484, X: 6, Y: 5.744 },
  { regression: -0.7394, X: 7, Y: 5.653 },
  { regression: -0.5484, X: 8, Y: 5.844 },
  { regression: -0.0304, X: 9, Y: 6.362 },
  { regression: -0.0124, X: 10, Y: 6.38 },
  { regression: -0.0814, X: 11, Y: 6.311 },
  { regression: 0.0646, X: 12, Y: 6.457 },
  { regression: 0.0866, X: 13, Y: 6.479 },
  { regression: 0.1976, X: 14, Y: 6.59 },
  { regression: 0.3476, X: 15, Y: 6.74 },
  { regression: 0.1876, X: 16, Y: 6.58 },
  { regression: 0.4596, X: 17, Y: 6.852 },
  { regression: 0.1386, X: 18, Y: 6.531 },
  { regression: 0.2896, X: 19, Y: 6.682 },
  { regression: 0.6206, X: 20, Y: 7.013 },
  { regression: 0.4276, X: 21, Y: 6.82 },
  { regression: 0.2546, X: 22, Y: 6.647 },
  { regression: 0.5586, X: 23, Y: 6.951 },
  { regression: 0.7286, X: 24, Y: 7.121 },
  { regression: 0.7506, X: 25, Y: 7.143 },
  { regression: 0.5216, X: 26, Y: 6.914 },
  { regression: 0.5486, X: 27, Y: 6.941 },
  { regression: 0.8336, X: 28, Y: 7.226 },
  { regression: 0.5056, X: 29, Y: 6.898 },
  { regression: 0.9996, X: 30, Y: 7.392 },
  { regression: 0.5456, X: 31, Y: 6.938 },
];

data.forEach((element) =&amp;gt; {
  result.AddRow(element);
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you perhaps have an example I could check?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jens C.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 09:42:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934644#M65823</guid>
      <dc:creator>jensc</dc:creator>
      <dc:date>2024-03-05T09:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934671#M65825</link>
      <description>&lt;HTML&gt;
 &lt;HEAD&gt;
 &lt;/HEAD&gt;&lt;BODY&gt;
  &lt;DIV&gt;
   &lt;DIV&gt;
    Nothing ready right now but I can check after my vacation.
   &lt;/DIV&gt;
   &lt;BR /&gt;
  &lt;/DIV&gt;
 
&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2024 11:06:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/934671#M65825</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2024-03-05T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/937829#M66009</link>
      <description>&lt;P&gt;Jens, I have to roll back. Combo Chart isn't what I thought it was &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt; I was misled by the picture in the help, but you can't a line chart and a scatter plot into the same chart with it, sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 17:01:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/937829#M66009</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2024-03-19T17:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linnear regression in scatter plot</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/937968#M66014</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/244971"&gt;@Rocko&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No worries.&lt;/P&gt;
&lt;P&gt;Hopefully it will be added to the chart in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jens C.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 07:24:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Linnear-regression-in-scatter-plot/m-p/937968#M66014</guid>
      <dc:creator>jensc</dc:creator>
      <dc:date>2024-03-20T07:24:43Z</dc:date>
    </item>
  </channel>
</rss>

