public class

GrowVerticalAnimationCreator

extends Object
implements SeriesAnimationCreator<T, U>
java.lang.Object
   ↳ com.shinobicontrols.charts.GrowVerticalAnimationCreator

Class Overview

Creates Animation objects that animate the getScaleY() property of a Series. The createEntryAnimation(Series) method creates an Animation that makes the series appear to grow in the vertical direction from its getPivotY() to full scale, while the createExitAnimation(Series) method creates an Animation that makes the series appear to shrink in the vertical direction from full scale to its getPivotY().

This SeriesAnimationCreator will automatically assign appropriate Animation.Listener objects to the Animation to make the Series animate as described above. In order to make the Series animate from its baseline, its getPivotY() value should be set to null.

This is the default SeriesAnimationCreator as returned by newDefaultSeriesAnimationCreator(Class) for ColumnSeries, CandlestickSeries and OHLCSeries.

Summary

Public Constructors
GrowVerticalAnimationCreator()
Public Methods
Animation<Float> createEntryAnimation(Series<?> series)
Creates an Animation that animates a given Series' getScaleY() value from 0.0 to 1.0, making it appear to grow in the vertical direction from its getPivotY().
Animation<Float> createExitAnimation(Series<?> series)
Creates an Animation that animates a given Series' getScaleY() value from 1.0 to 0.0, making it appear to shrink in the vertical direction to its getPivotY().
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.shinobicontrols.charts.SeriesAnimationCreator

Public Constructors

public GrowVerticalAnimationCreator ()

Public Methods

public Animation<Float> createEntryAnimation (Series<?> series)

Creates an Animation that animates a given Series' getScaleY() value from 0.0 to 1.0, making it appear to grow in the vertical direction from its getPivotY().

Parameters
series the Series to create the Animation for
Returns

public Animation<Float> createExitAnimation (Series<?> series)

Creates an Animation that animates a given Series' getScaleY() value from 1.0 to 0.0, making it appear to shrink in the vertical direction to its getPivotY().

Parameters
series the Series to create the Animation for
Returns