This is a migrated thread and some comments may be shown as answers.

How to fit a trendline (regression line) to a scatter plot

2 Answers 280 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 23 Mar 2012, 05:02 AM
Hi Guys,

I need to know how can I show a trendline (regression line) to a scatter plot? or How can I simulate this functionallity?
I have attached a sample image.

Thanks Guys, this is too importante for me.

Alex.

2 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 27 Mar 2012, 09:49 AM
Hi Alex,

Currently RadChart doesn't support trend lines. However this can be achieved wth Spline series where the Y values should be calculated manually based on your equation. 
You'll also need to hide the Series Labels like this:

RadChart1.Series[1].Appearance.ShowLabels = "false";

Kind regards,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Alex
Top achievements
Rank 1
answered on 22 Oct 2012, 04:15 PM
Thanks Guys!
Tags
Chart (Obsolete)
Asked by
Alex
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Alex
Top achievements
Rank 1
Share this question
or