Angular 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.

Selector: dxo-drag-box-style
Type:

Object

DevExtreme Chart - Drag Box

color

Specifies the drag box's color.

Type:

String

| undefined
Default Value: undefined

This property supports the following colors:

opacity

Specifies the drag box's transparency.

Type:

Number

| undefined
Default Value: undefined

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