Animated Bar Series Transitions (VCL and FMX)

A new feature in the next coming TeeChart Pro update is a new TeeAnimation class to perform animated transitions between the different Bar series stacking styles.

teechart_bar_series_transition_screenshot

Creating the animation:

var a : TSeriesTransition;

a:=TSeriesTransition.Create(Self);
a.Chart:=Chart1;

Optional animation settings:

a.Duration:=300; // milliseconds
a.TimingStyle:=atInOut;
a.Timing:=atCubic;

Playing the animation:

a.Before;
Series1.MultiBar:=mbStacked;
a.After;

Download:

Executable demos (VCL and Firemonkey) and source code.

Note: Demo sources require a new event in TCustomBarSeries class, to be provided in the next coming TeeChart Pro update (aprox Sep-2014).