-
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> Modelcollect(ChartModelProducer<Model> $self, Object chartKey, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation)Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update. final static <Model extends ChartEntryModel> MutableSharedState<Model, Model>collectAsState(ChartModelProducer<Model> $self, Object chartKey, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation)Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update. final static <Model extends ChartEntryModel> ComposedChartEntryModel<Model>plus(Model $self, Model other)Combines two ChartEntryModel implementations—the receiver and other—into a ComposedChartEntryModel. -
-
Method Detail
-
getDefaultDiffAnimationSpec
final AnimationSpec<Float> getDefaultDiffAnimationSpec()
The default AnimationSpec for difference animations.
-
collect
@Composable() final static <Model extends ChartEntryModel> Model collect(ChartModelProducer<Model> $self, Object chartKey, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation)
Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update.
-
collectAsState
@Composable() final static <Model extends ChartEntryModel> MutableSharedState<Model, Model> collectAsState(ChartModelProducer<Model> $self, Object chartKey, Object producerKey, AnimationSpec<Float> animationSpec, Boolean runInitialAnimation)
Observes the data provided by this ChartModelProducer and launches an animation for each ChartEntryModel update.
-
plus
@Deprecated(message = Use `com.patrykandpatrick.vico.core.entry.composed.plus` instead.) final static <Model extends ChartEntryModel> ComposedChartEntryModel<Model> plus(Model $self, Model other)
Combines two ChartEntryModel implementations—the receiver and other—into a ComposedChartEntryModel.
-
-
-
-