[@wago/wdx-schema](../README.md) / [Exports](../modules.md) / [WDX](../modules/WDX.md) / [Schema](../modules/WDX.Schema.md) / [Model](../modules/WDX.Schema.Model.md) / [Chart](../modules/WDX.Schema.Model.Chart.md) / ZoomPluginZoomDrag

# Class: ZoomPluginZoomDrag

[Model](../modules/WDX.Schema.Model.md).[Chart](../modules/WDX.Schema.Model.Chart.md).ZoomPluginZoomDrag

## Table of contents

### Constructors

- [constructor](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#constructor)

### Properties

- [backgroundColor](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#backgroundcolor)
- [borderColor](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#bordercolor)
- [borderWidth](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#borderwidth)
- [drawTime](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#drawtime)
- [enabled](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#enabled)
- [id](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#id)
- [maintainAspectRatio](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#maintainaspectratio)
- [modifierKey](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#modifierkey)
- [threshold](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#threshold)
- [uuid](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md#uuid)

## Constructors

### constructor

• **new ZoomPluginZoomDrag**(): [`ZoomPluginZoomDrag`](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md)

#### Returns

[`ZoomPluginZoomDrag`](WDX.Schema.Model.Chart.ZoomPluginZoomDrag.md)

## Properties

### backgroundColor

• **backgroundColor**: `string`

Fill color

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:39

___

### borderColor

• **borderColor**: `string`

Stroke color

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:49

___

### borderWidth

• **borderWidth**: `number`

Stroke width

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:58

___

### drawTime

• **drawTime**: [`ZoomPluginDrawTime`](../enums/WDX.Schema.Model.Chart.ZoomPluginDrawTime.md)

When the dragging box is drawn on the chart

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:67

___

### enabled

• **enabled**: `boolean`

Enable drag-to-zoom

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:30

___

### id

• `Optional` **id**: `number`

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:15

___

### maintainAspectRatio

• **maintainAspectRatio**: `boolean`

Maintain aspect ratio of the chart

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:95

___

### modifierKey

• **modifierKey**: [`ZoomPluginModifierKey`](../enums/WDX.Schema.Model.Chart.ZoomPluginModifierKey.md)

Modifier key required for drag-to-zoom

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:86

___

### threshold

• **threshold**: `number`

Minimal zoom distance required before actually applying zoom

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:76

___

### uuid

• **uuid**: `string`

#### Defined in

src/WDX/Schema/Model/Chart/ZoomPluginZoomDrag.ts:21
