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

Trend line

1 Answer 124 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 23 Nov 2020, 10:47 PM

Is is possible to add a trend line / linear regression to the Blazor charts like Excel?

See it is available in the kendo charts (https://docs.telerik.com/kendo-ui/knowledge-base/chart-add-trend-line).

Also found the old 2015 knowledge base article (https://www.telerik.com/blogs/how-to-plot-a-simple-linear-regression-in-telerik-asp.net-web-form-chart)

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 24 Nov 2020, 10:51 AM

Hello Steve,

Both approaches rely on the application supplying the data for a series that shows the trend - whether it is a hardcoded example like in the Kendo KB article, or a more detailed approach on using statistical methods to calculate it at runtime (like in the AJAX blog) - in both cases it is up to the app to provide that data. Then, you only need to add a series that shows it.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Charts
Asked by
Steve
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or