BootstrapChart.SettingsZoomAndPan Property

Configures zooming and panning.

Namespace: DevExpress.Web.Bootstrap

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


public BootstrapChartZoomAndPanSettings SettingsZoomAndPan { get; }

Property Value

Type Description

An object of the BootstrapChartZoomAndPanSettings class.


You can enable zooming and panning for the argument and value axes independently. Specify the BootstrapChartZoomAndPanSettings.ArgumentAxis and BootstrapChartZoomAndPanSettings.ValueAxis properties to enable zooming, panning, or both for a specific axis (ChartZoomAndPanMode Enumeration).

Users can use the mouse and touch gestures to zoom and pan. The following table illustrates user interaction:


Zooming Gestures

Panning Gestures


Spread and pinch

Vertical or horizontal drag


Mouse Wheel for the argument axis;

Shift + Mouse Wheel for the value axis

Vertical or horizontal drag

You can use the BootstrapChartZoomAndPanSettings.AllowTouchGestures or BootstrapChartZoomAndPanSettings.AllowMouseWheel property to disable touch or mouse support.


Users can also use the mouse to zoom the chart by selecting an area with the drag gesture. Refer the BootstrapChartZoomAndPanSettings.DragToZoom property for more information.

View Example: How To Configure a BootstrapChart

See Also