We would like some additional information on how well the trend-lines fit the data.
Is there a way to test the trend-line reliability? Do your graphs calculate the R-squared value? is there a way to show it?
Thank you!
Hi Dzyann,
Our data chart doesn't calculate the r-squared value of a trendline. The only recommendation I can really make for this is to calculate the trendline yourself and render it using a LineSeries, then calculate the r-squared value using that trend data you generated along with the actual data.
I also recommend submitting this as a product idea for the chart for future versions. You can do this here: http://ideas.infragistics.com/
Hi Rob,
I think I wasn't clear in my question. I am not asking how to draw an R-squared trend line.
What I need is the R-squared value for a trend line, to see how well it fits the data.
I suppose Infragistics offers this feature, although I can not find it, because for example Microsoft has it for their Office Graphs.
Our documentation provides a list of the types of trend lines we currently support.http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=DataChart_Trend_lines.html
R-squared is not listed so we don't currently support that type of trend line. As far as testing the reliability, the only way I can think of for you to do that would be to calculate what that trend-line would look like and then use a LineSeries bound to your trend-line data in order to show it. Then you can compare your calculated line versus our built-in trend-line to see how accurate it is to what you expect.