ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

FacetChart.settings.interaction.selection

This section is defined by the type FacetChartSettingsInteractionSelection.

Configurable settings for select option. Note that the selection style is configured by area.style.selection.

Properties

enabled: boolean
Default value: true
Version 1.17.0: the selection is now rendered on the chart.
Version 1.17.3: added drawing of the selection when this is false.

Enable/disable selection. Setting this to false disabled the selection by clicking on the chart, however the selection can still be set using the API.

Disabling the selection interaction could enable some advanced scenarios where the data is highly dynamic but the selection state must always be consistent with some outside state.

tolerance: number
Default value: 4

Distance in pixels to both sides of an item that is still considered as a hover/click on the item.

X