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

Chart animation duration speed

1 Answer 134 Views
Charts
This is a migrated thread and some comments may be shown as answers.
amber
Top achievements
Rank 1
amber asked on 20 Nov 2020, 12:10 AM

Hi,

Here's the example (http://jsfiddle.net/jxn2u7y9/) that I try to draw a line,

But I want to control the speed of the initial animation duration,

Is there any way or api to slow down the initial animation duration speed such as the setInterval way using in this example (https://jsfiddle.net/k9fxbmp8)?

var timer = setInterval(() => {
  if(count > len){
    clearInterval(timer)
  }
 
  myChart.data.datasets[0].data.push(totalData[count]);
 // myChart.data.datasets[1].data.push(releaseData[count]);
 
  myChart.update();
  count++;
},800)

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 23 Nov 2020, 02:51 PM

Hi,

Currently there is no built-in option to control the animation speed. That said I would recommend logging a feature request in our feedback portal in regards of this

Regards,
Angel Petrov
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
amber
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or