chartjs-plugin-zoom / DragOptions
Interface: DragOptions
Defined in: options.ts:40
Properties
backgroundColor?
ts
backgroundColor?: Color;Defined in: options.ts:64
Background color of the drag area
borderColor?
ts
borderColor?: Color;Defined in: options.ts:54
Border color of the drag area
borderWidth?
ts
borderWidth?: number;Defined in: options.ts:59
Border width of the drag area
drawTime?
ts
drawTime?: DrawTime;Defined in: options.ts:74
Draw time required for drag-to-zoom
enabled?
ts
enabled?: boolean;Defined in: options.ts:44
Enable the zoom via drag
maintainAspectRatio?
ts
maintainAspectRatio?: boolean;Defined in: options.ts:79
Maintain aspect ratio of the drag rectangle
modifierKey?
ts
modifierKey?: ModifierKey | null;Defined in: options.ts:69
Modifier key required for drag-to-zoom
threshold?
ts
threshold?: number;Defined in: options.ts:49
Minimal zoom distance required before actually applying zoom