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.2.dll


public bool DragToZoom { get; set; }
Public Property DragToZoom As Boolean

Property Value

Type Default Description


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


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