Animating series on and off screen is controlled by the
SChartAnimationTracker class found on your
ShinobiChart. It contains two sets of methods, the first set enables you to show a series, the second hides a series.
All the methods need the
SChartSeries object you wish to animate, the
SChartAnimation object you wish to animate with & a completion block that has a void return type and a BOOL parameter. The BOOL parameter represents whether the animation provided finished successfully.
Both sets contain one method that takes a duration parameter & the other takes an object conforming to the
SChartProgressCalculator protocol to give the animations more flexibility. These control how long the animation is in progress for.
The animation will start the next time the chart is redrawn.
Note: Radial series do not currently support animation.