Animation starting point on 3.x #9072
-
Hello there, thanks for this amazing piece of code. I migrated recently from 2 to 3 and I noticed that the animation engine has been redesigned. I used to have a line chart where I was dynamically adding new data into the chart and updating it. On 2.x the animation was smooth as the animation starting point was on the right of the chart. With version 3 it seems the animation always starts from the x axis creating distortion on my freshly updated dataset. Is there any way to choose the starting point/type of animation? I tried to play with duration and ease but this is not fixing. I am afraid I am missing something. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There are a lot of possibilities. Take a look at the progressive line sample You could just disable the y-coordinate animation: options: {
animation: {
y: {
duration: 0
}
}
} |
Beta Was this translation helpful? Give feedback.
There are a lot of possibilities. Take a look at the progressive line sample
You could just disable the y-coordinate animation: