All docs
V19.1
20.2 (CTP)
20.1
19.2
19.1
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
17.1
The page you are viewing does not exist in version 17.1. This link will take you to the root page.
16.2
The page you are viewing does not exist in version 16.2. This link will take you to the root page.
Box
Map
Vue
A newer version of this page is available. Switch to the current version.

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.