ModelTransformer

abstract class ModelTransformer<in Model>

Transforms Models into DrawingModels.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun prepareForTransformation(oldModel: Model?, newModel: Model?, extraStore: MutableExtraStore, chartValuesProvider: ChartValuesProvider)

Prepares the Chart for a difference animation.

Link copied to clipboard
abstract suspend fun transform(extraStore: MutableExtraStore, fraction: Float)

Carries out the pending difference animation. fraction is the animation progress.