ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)
Switch to Version 2.0 (BETA)

FacetChart.settings.legend.scrollButtons

This section is defined by the type BaseSettingsScrollButtons.

Properties

enabled: boolean
Default value: true

Show/hide left, right scroll buttons if additional facets available.

enabledOnExport: boolean
Default value: false

Whether to display title on the exported image. Note that it does not affect chart.

hoverSize: number
Default value: 42

How large the button should be on hover

hoverSizeActiveAnimationTime: number
Default value: 0.1

How long (in seconds) it should take for a hovered button to change from initial size to full size

hoverSizeInactiveAnimationTime: number
Default value: 0.2

How long (in seconds) it should take for a hovered button to change from full size back to initial size

size: number
Default value: 28

Button height or width.

Scroll button style

Properties
fillColor: string
Default value: "rgba(255,255,255,0.5)"
hoverFillColor: string
Default value: "rgba(255,255,255,0.9)"
hoverLineColor: string
Default value: "rgba(0,0,0,0.9)"
lineColor: string
Default value: "rgba(0,0,0,0.5)"
X