Package-level declarations

Properties

Link copied to clipboard

The default AnimationSpec for difference animations.

Functions

Link copied to clipboard
fun <Model : ChartEntryModel> ChartModelProducer<Model>.collectAsState(chart: Chart<Model>, producerKey: Any, animationSpec: AnimationSpec<Float>? = defaultDiffAnimationSpec, runInitialAnimation: Boolean = true, chartValuesManager: ChartValuesManager, getXStep: (Model) -> Float?, dispatcher: CoroutineDispatcher = Dispatchers.Default): State<ChartEntryModelWrapper<Model>>

Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update.