AutoScrollCondition

fun interface AutoScrollCondition

Defines when an automatic scroll should be performed.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun shouldScroll(oldModel: CartesianChartModel?, newModel: CartesianChartModel): Boolean

Given a chart’s new and old models, defines whether an automatic scroll should be performed.