Android LineSeries animation on redraw


I have an animation defined for a LineSeries

LineSeries values = new LineSeries();


SeriesAnimation entryAnimation = SeriesAnimation.createGrowVerticalAnimation();


entryAnimation.setYScaleCurve(new EaseOutAnimationCurve());


It works correctly on first display of the chart.

On a button click, I’m using the same method, including the animation, to redraw the chart with new data.

The graph displays correctly but there’s no animation.

Also, is there something else I need to do to clear the graph?