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

BootstrapChartZoomAndPanSettings.DragToZoom Property

Enables users to zoom the chart by selecting an area with the drag gesture. Applies only on devices that use a mouse.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.1.dll


public bool DragToZoom { get; set; }

Property Value

Type Default Description


true to allow users zooming the chart with the drag gesture; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to DragToZoom


When this property is set to true, the mouse’s drag gesture is used for zooming instead of panning. To pan in this case, users should perform the drag gesture while pressing the BootstrapChartZoomAndPanSettings.PanKey.

See Also