I am creating a chart with a few ScatterLineSeries on it. I have added Trendlines of type Linear/Quadratic/Cubic to these lines.I am wondering if there is a way to get the equations for these lines in order to gather the slope/curvature etc. Or do i have to create my own lines manually to do that?
http://help.infragistics.com/NetAdvantage/DV/2011.1/CLR4.0/?page=InfragisticsSL4.Controls.Charts.XamDataChart.v11.1~Infragistics.Controls.Charts.Util.LeastSquaresFit_members.html
This is ultimately the class that performs the fitting of the equations to the line. The doc contains some of the details of the equations being fit to. And you could use the fit methods to obtain the coefficients for the various equations being used.
Hope this helps!
-Graham
Thank you for this, did what i needed it to do, although it would be slightly more convenient if there were a method in the Series to just get the equation, rather than having to work through the whole thing to get the equation.
Thanks!
Brian