Vico Scroll State
constructor(scrollEnabled: Boolean, initialScroll: Scroll.Absolute, autoScroll: Scroll, autoScrollCondition: AutoScrollCondition, autoScrollAnimationSpec: AnimationSpec<Float>)
Houses information on a CartesianChart’s scroll value. Allows for scroll customization and programmatic scrolling.
Parameters
scroll Enabled
whether scroll is enabled.
initial Scroll
represents the initial scroll value.
auto Scroll
represents the scroll value or delta for automatic scrolling.
auto Scroll Condition
defines when an automatic scroll should occur.
auto Scroll Animation Spec
the AnimationSpec for automatic scrolling.