BootstrapChart.ZoomingMode Property

Obsolete. Enables zooming capability in a BootstrapChart and specifies a pointer type used for zooming.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DefaultValue(ChartPointerType.None)]
[Obsolete("Use SettingsZoomAndPan property instead.")]
[Browsable(false)]
public ChartPointerType ZoomingMode { get; set; }
<DefaultValue(ChartPointerType.None)>
<Obsolete("Use SettingsZoomAndPan property instead.")>
<Browsable(False)>
Public Property ZoomingMode As ChartPointerType

Property Value

Type Default Description
ChartPointerType

None

A ChartPointerType enumeration value defining the pointer used for a chart zooming.

Remarks

Zooming is disabled by default - the ChartPointerType.None value is assigned to the ZoomingMode property.

  • All - user can use the spread/pinch gesture or roll the mouse wheel to zoom in/out of the chart.
  • Mouse - user can roll the mouse wheel to zoom in/out of the chart.
  • Touch - user can use the spread/pinch gesture to zoom in/out of the chart.

Bootstrap_Charts_ZoomingMode_gif

 

Note

In many cases, zooming is useless without scrolling, and vice versa. So, when enabling scrolling, consider enabling the zooming capability as well. For this purpose, use the BootstrapChart.ScrollingMode property. If the zooming or scrolling mode is enabled, the BootstrapClientChart.ZoomStart and BootstrapClientChart.ZoomEnd events fire.

See Also