Help us shape the 2021 DevExtreme Roadmap. Take our 5 minute survey.
Dismiss

dragBoxStyle

Configures the box that appears when users zoom the chart by selecting an area with the drag gesture. Applies only if dragToZoom is true.

Type:

Object

DevExtreme Chart - Drag Box

color

Specifies the drag box's color.

Type:

String

Default Value: undefined

This option supports the following colors:

opacity

Specifies the drag box's transparency.

Type:

Number

Default Value: undefined

This option accepts a value from 0 to 1: 0 makes the drag box transparent; 1 makes it opaque.