Package-level declarations

Types

Link copied to clipboard
class ChartScrollSpec<in Model : ChartEntryModel>(val isScrollEnabled: Boolean = true, val initialScroll: InitialScroll = InitialScroll.Start, val autoScrollCondition: AutoScrollCondition<Model> = AutoScrollCondition.Never, val autoScrollInterpolator: TimeInterpolator = AccelerateDecelerateInterpolator(), val autoScrollDuration: Long = Animation.DIFF_DURATION.toLong())

Houses scrolling-related settings for charts.

Functions

Link copied to clipboard
fun <Model : ChartEntryModel> ChartScrollSpec<Model>.copy(isScrollEnabled: Boolean = this.isScrollEnabled, initialScroll: InitialScroll = this.initialScroll, autoScrollCondition: AutoScrollCondition<Model> = this.autoScrollCondition, autoScrollInterpolator: TimeInterpolator = this.autoScrollInterpolator, autoScrollDuration: Long = this.autoScrollDuration): ChartScrollSpec<Model>

Copies this ChartScrollSpec, changing select values.