New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides pan and zoom behavior for a chart, allowing configuration of pan and zoom modes and double-tap handling.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

C#
public class ChartPanAndZoomBehavior : ChartBehavior

Inheritance: objectChartElementChartBehaviorChartPanAndZoomBehavior

Inherited Members ChartElement.OnPropertyChanged(string)ChartElement.Key

Constructors

C#
public ChartPanAndZoomBehavior()

Fields

HandleDoubleTapProperty

BindableProperty

Identifies the HandleDoubleTap property.

C#
public static readonly BindableProperty HandleDoubleTapProperty

PanModeProperty

BindableProperty

Identifies the PanModeProperty property.

C#
public static readonly BindableProperty PanModeProperty

ZoomModeProperty

BindableProperty

Identifies the ZoomMode property.

C#
public static readonly BindableProperty ZoomModeProperty

Properties

Gets or sets a value indicating whether a Double-tap gesture will be handled by the behavior to reset the current Zoom and PanOffset values.

C#
public bool HandleDoubleTap { get; set; }

Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a pan gesture.

C#
public ChartPanZoomMode PanMode { get; set; }

Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a zoom gesture.

C#
public ChartPanZoomMode ZoomMode { get; set; }