ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
TimeChart.settings.area.style.selection
This section is defined by the type TimeChartSettingsAreaStyleSelection.
Time period selection style. Note that the interaction.selection
section specifies if the
selection can be created by the user or only through the API.
Properties
behindSeries: boolean
Default value: false
Introduced in version 1.13.2.
Specifies if the selection is drawn behind or above the series themselves.
combineSameLabels: boolean
Default value: false
If enabled and both selection labels have the same text, it will only display a single label in the middle rather than two duplicate labels.
fillColor: string
Default value: "rgba(30,160,220,0.15)"
lineColor: string
Default value: "rgba(0,0,0,0.5)"
lineWidth: number
Default value: 2
roundToNearestTime: boolean
Default value: true
If enabled, the displayed times will be rounded to the nearest unit instead of containing the nearest unit.