Box
Map
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Chart - zoomAndPan.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 property supports the following colors:

opacity

Specifies the drag box's transparency.

Type:

Number

Default Value: undefined

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