ZoomCharts Documentation

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.

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.

X