ZoomCharts Documentation

Version: 1.21.20 (2026-09-08)
Switch to Version 2.0 (BETA)

NetChart.settings.style.dragSelection

This section is defined by the type BaseSettingsBackgroundStyle.

The style for the resizable selection box.

Properties

fillColor: string | CanvasGradient
Default value: "rgba(30,160,220,0.15)"
lineColor: string
Default value: "#000000"
lineDash: Array<number>
Default value: [ 1, 2 ]
lineDashOffset: number
lineWidth: number
Default value: 1
shadowBlur: number
shadowColor: string
shadowOffsetX: number
shadowOffsetY: number
shadowSpread: number

Outer glow width in pixels, similar to the spread parameter of CSS box-shadow. When set together with shadowColor, an expanded rounded rectangle is drawn behind the background before the main fill and stroke.

X