The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Declaration

[DefaultValue(false)]
public bool DragToZoom { get; set; }
<DefaultValue(False)>
Public Property DragToZoom As Boolean

Property Value

Type Default Description
Boolean

false

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

Remarks

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