Create a linear trend line in a chart


I want to create a linear trend line (y=ax+b) from a dataset in a chart or an easy chart. Is it possible in Ignition ? How can I do it ?


The Math Extensions for Ignition has a linear regression function.

An extra topic of discussion is here.

If you use a chart object, under the dateset properties tab set the renderer to XYLine/Shap Renderer and it will plot a linear line from data-point to data-point for the data in you dataset for you . Fairly straight forward, just need to play with the chart object a bit as it’s not that intuitive.