Package 

Class ChartEntryModelExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final AnimationSpec<Float> getDefaultDiffAnimationSpec() The default AnimationSpec for difference animations.
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.