Understanding the Problem

Newly created elements will have default x, y, height, and width attributes. This can create problems when trying to animate them.

We'll cover the following

We are going to take the time to discuss the problem with our chart. Switching between metrics does not seem to be an issue. However, the animations do not work normally. The transitions occur very quickly. That is because, by default, the animation is configured to play for a quarter of a second.

The animation has been slowed down so that we can see the problem more clearly.

Get hands-on with 1200+ tech skills courses.