ScrollListener

interface ScrollListener

Allows for listening to a chart’s scroll state.

Functions

Link copied to clipboard
open fun onMaxValueChanged(oldMaxValue: Float, newMaxValue: Float)

Called when the maximum scroll amount changes.

Link copied to clipboard
open fun onScrollNotConsumed(delta: Float)

Called when the scroll has reached the limit and cannot be consumed further.

Link copied to clipboard
open fun onValueChanged(oldValue: Float, newValue: Float)

Called when the scroll amount changes.