VictoryAnimation is able to animate changes in props using d3-interpolate. Victory components define their animations via the
onEnd functions may all be specified via the
Victory components define default transitons for entering and exiting nodes, but these may be overridden with the
onExit properties of the
animate object. The
after properties take functions whose return values alter the datum of the transitioning node before or after the transition. These functions are called with the original datum of the transitioning node, the index of that datum, and the entire data array.
Note: Use private variables
_y1 when altering position data during transitions.