Package 

Class VicoScrollState


  • 
    public final class VicoScrollState
    
                        

    Houses information on a CartesianChart’s scroll value. Allows for scroll customization and programmatic scrolling.

    • Constructor Summary

      Constructors 
      Constructor Description
      VicoScrollState(Boolean scrollEnabled, Scroll.Absolute initialScroll, Scroll autoScroll, AutoScrollCondition autoScrollCondition, AnimationSpec<Float> autoScrollAnimationSpec) Houses information on a CartesianChart’s scroll value.
    • Constructor Detail

      • VicoScrollState

        VicoScrollState(Boolean scrollEnabled, Scroll.Absolute initialScroll, Scroll autoScroll, AutoScrollCondition autoScrollCondition, AnimationSpec<Float> autoScrollAnimationSpec)
        Houses information on a CartesianChart’s scroll value.
        Parameters:
        scrollEnabled - whether scroll is enabled.
        initialScroll - represents the initial scroll value.
        autoScroll - represents the scroll value or delta for automatic scrolling.
        autoScrollCondition - defines when an automatic scroll should occur.
        autoScrollAnimationSpec - the AnimationSpec for automatic scrolling.