ZoomCharts Documentation

FacetChart.settings.interaction.scrolling

This section is defined by the type LinearChartSettingsInteractionScrolling.

Configurable settings to manage scroll interaction.

Properties

enabled: boolean
Default value: true

Enables/Disables scrolling.

kineticFriction: number
Default value: 0.000001

Scrolling friction coefficient (chartWidth/ms^2).

maxAnimationLength: number
Default value: 1500
Introduced in version 1.13.0.

The maximum time the scroll animation can run, in milliseconds. This does not apply when the user swipes the chart to start the animation, for that use kineticFriction instead. This setting however applies when the visible range is changed by using the toolbar or API methods.

Set to null to disable the limit.

swipePageFlipping: boolean
Default value: true

Whether to use scrolling by full page instead of kinetic scrolling when using swipes (instead of dragging the chart).

X