Chart trend line

1 Answer 69 Views
Chart
Martin
Top achievements
Rank 1
Iron
Martin asked on 09 Dec 2021, 01:57 PM

Hey, I want to create a chart with a trend line in kendo MVC.

Is there a way to accomplish this in kendo MVC?

Or do I have to calculate every single point in the trend line myself?

1 Answer, 1 is accepted

Sort by
0
Accepted
Anton Mironov
Telerik team
answered on 14 Dec 2021, 08:35 AM

Hi Martin,

Thank you for the details provided.

In order to achieve the desired behavior, I would recommend calculating the trend line and implementing the following approach for MVC:

Here is a dojo example of the approach:

Let me know if further assistance is needed with the MVC implementation and I will try my best to prepare an example for the case.

Looking forward to hearing back from you.

Kind Regards,
Anton Mironov
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/.

Martin
Top achievements
Rank 1
Iron
commented on 14 Dec 2021, 12:45 PM

Yeah, I've seen that example, but thanks for the information that you have to calculate the trend line yourself.

I take it there won't be any implementation of a trend line in the chart component in the future?

Anton Mironov
Telerik team
commented on 17 Dec 2021, 09:18 AM

Hi Martin,

Yes, you are totally correct. The values for the trend line should be calculated manually.

This functionality could be added as a Feature Request for considering it for further implementation.

Let me know if any further assistance or information is needed.

Best Regards,
Anton Mironov

Tags
Chart
Asked by
Martin
Top achievements
Rank 1
Iron
Answers by
Anton Mironov
Telerik team
Share this question
or