-
public final class ChartEntryModelExtensionsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static AnimationSpec<Float>defaultDiffAnimationSpec
-
Method Summary
Modifier and Type Method Description final AnimationSpec<Float>getDefaultDiffAnimationSpec()The default AnimationSpec for difference animations. final static <Model extends ChartEntryModel> State<ChartEntryModelWrapper<Model>>collectAsState(ChartModelProducer<Model> $self, Chart<Model> chart, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation, ChartValuesManager chartValuesManager, Function1<Model, Float> getXStep, CoroutineDispatcher dispatcher)Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update. -
-
Method Detail
-
getDefaultDiffAnimationSpec
final AnimationSpec<Float> getDefaultDiffAnimationSpec()
The default AnimationSpec for difference animations.
-
collectAsState
@Composable() final static <Model extends ChartEntryModel> State<ChartEntryModelWrapper<Model>> collectAsState(ChartModelProducer<Model> $self, Chart<Model> chart, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation, ChartValuesManager chartValuesManager, Function1<Model, Float> getXStep, CoroutineDispatcher dispatcher)
Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update.
-
-
-
-